aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDenis Efremov <[email protected]>2020-08-24 15:59:21 +0300
committerKees Cook <[email protected]>2020-09-08 16:26:45 -0700
commit2d9ca267a944c2b6ed5b4d750b1cf0407b6262b4 (patch)
tree518d63cc6743f1151994332b3a8f1396ee785bd9 /tools/perf/scripts/python/exported-sql-viewer.py
parent3932fcecd96221e18100055d623b736d0ff873a4 (diff)
seccomp: Use current_pt_regs() instead of task_pt_regs(current)
As described in commit a3460a59747c ("new helper: current_pt_regs()"): - arch versions are "optimized versions". - some architectures have task_pt_regs() working only for traced tasks blocked on signal delivery. current_pt_regs() needs to work for *all* processes. In preparation for adding a coccinelle rule for using current_*(), instead of raw accesses to current members, modify seccomp_do_user_notification(), __seccomp_filter(), __secure_computing() to use current_pt_regs(). Signed-off-by: Denis Efremov <[email protected]> Link: https://lore.kernel.org/r/[email protected] [kees: Reworded commit log, add comment to populate_seccomp_data()] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions