aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTycho Andersen <tycho@tycho.ws>2019-01-18 17:12:16 -0700
committerShuah Khan <shuah@kernel.org>2019-02-13 08:48:12 -0700
commitc7140706cb8affe0155c62b13c59940597825bac (patch)
tree9bf78cc13a5cf5262371e57fde3d96adbcb098d0 /tools/perf/scripts/python/stackcollapse.py
parent3aa415dd2128e478ea3225b59308766de0e94d6b (diff)
selftests: set NO_NEW_PRIVS bit in seccomp user tests
seccomp() doesn't allow users who aren't root in their userns to attach filters unless they have the nnp bit set, so let's set it so that these tests can pass when run as an unprivileged user. This idea stolen from the other seccomp tests, which use this trick :) Signed-off-by: Tycho Andersen <tycho@tycho.ws> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions