diff options
author | Aleksa Sarai <[email protected]> | 2019-10-01 11:10:55 +1000 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2019-10-01 15:45:22 +0200 |
commit | c2ba8f41ad366dc12840dd87d8f1565185845126 (patch) | |
tree | 7e6407dae5d248995ecbc56b808f49d8b687fd70 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dff3a85feceade213daf153556fd32a3b0a73c63 (diff) |
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 <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
[[email protected]: improve commit message]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions