aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAleksa Sarai <cyphar@cyphar.com>2019-10-01 11:10:55 +1000
committerChristian Brauner <christian.brauner@ubuntu.com>2019-10-01 15:45:22 +0200
commitc2ba8f41ad366dc12840dd87d8f1565185845126 (patch)
tree7e6407dae5d248995ecbc56b808f49d8b687fd70 /include
parentsched_setattr: switch to copy_struct_from_user() (diff)
downloadlinux-dev-c2ba8f41ad366dc12840dd87d8f1565185845126.tar.xz
linux-dev-c2ba8f41ad366dc12840dd87d8f1565185845126.zip
perf_event_open: switch to copy_struct_from_user()
Switch perf_event_open() syscall from it's own copying struct perf_event_attr from userspace to the new dedicated copy_struct_from_user() helper. The change is very straightforward, and helps unify the syscall interface for struct-from-userspace syscalls. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com> [christian.brauner@ubuntu.com: improve commit message] Link: https://lore.kernel.org/r/20191001011055.19283-5-cyphar@cyphar.com Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions