summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2017-10-18 06:16:54 +0000
committerPaul Moore <paul@paul-moore.com>2017-11-01 12:48:36 -0400
commitb61042bf4bcf216e2371c8371d6bf5449f1cf7c5 (patch)
tree8dd138a3075d6aed84752e7070426988f92ba3f0 /include
parentd0e11951f6484db5d8e98591ddc0c0157b333d85 (diff)
downloadlibseccomp-b61042bf4bcf216e2371c8371d6bf5449f1cf7c5.tar.gz
system: runtime check if an action is supported by the kernel
As new actions are added to the kernel, libseccomp needs a way to verify that an action is not only valid but also supported by the current kernel at runtime. The only way to do this is by using the SECCOMP_GET_ACTION_AVAIL operation which was added to seccomp(2) in kernel version 4.14. This check is not enabled for existing actions supported by libseccomp since those actions were present in kernels at the inception of libseccomp. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions