diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2017-10-18 06:16:54 +0000 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-11-01 12:48:36 -0400 |
commit | b61042bf4bcf216e2371c8371d6bf5449f1cf7c5 (patch) | |
tree | 8dd138a3075d6aed84752e7070426988f92ba3f0 /include | |
parent | d0e11951f6484db5d8e98591ddc0c0157b333d85 (diff) | |
download | libseccomp-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