You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add two new filter attributes, SCMP_FLTATR_ACT_ENOSYS and
SCMP_FLTATR_CTL_KVER. When SCMP_FLTATR_CTL_KVERMAX is set, then
libseccomp will handle syscalls as follows:
* syscalls with explicit actions set by the user will behave as
before
* syscalls that are not explicitly called out by the user's filter
but are valid for the specified kernel version will return the
default filter action (SCMP_FLTATR_ACT_DEFAULT).
* syscalls that are newer than the specified kernel version will
return the unknown filter action (SCMP_FLTATR_ACT_ENOSYS)
Note that setting the SCMP_FLTATR_CTL_KVERMAX can result in large
seccomp BPF filters. It's recommended to also enable the binary
tree optimization (SCMP_FLTATR_CTL_OPTIMIZE = 2) to speed up
filter traversal in the kernel.
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
0 commit comments