summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2017-08-11 07:33:55 +0300
committerKees Cook <keescook@chromium.org>2017-08-14 23:46:46 +0300
commit2b7ea5b5b5799f2878ed454bb48032bed6d101d3 (patch)
tree5aaae1f8f90097ea54686faa783ac0e72b851e3f /tools/perf/scripts/python/exported-sql-viewer.py
parent0ddec0fc8900201c0897b87b762b7c420436662f (diff)
downloadlinux-2b7ea5b5b5799f2878ed454bb48032bed6d101d3.tar.xz
seccomp: Selftest for detection of filter flag support
Userspace needs to be able to reliably detect the support of a filter flag. A good way of doing that is by attempting to enter filter mode, with the flag bit(s) in question set, and a NULL pointer for the args parameter of seccomp(2). EFAULT indicates that the flag is valid and EINVAL indicates that the flag is invalid. This patch adds a selftest that can be used to test this method of detection in userspace. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions