generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
ISSUE
Overview
Hello, I'm writing concerning the following quote from the docs:
Before installing a filter, make sure that the current kernel version supports the actions of the filter. This can be checked by inspecting the output of:
cat /proc/sys/kernel/seccomp/actions_availor by calling theseccomp(SECCOMP_GET_ACTION_AVAIL)syscall.
Are there any examples of using the second method in practice (seccomp(SECCOMP_GET_ACTION_AVAIL) syscall)? It seems like seccompiler does not expose any way to do this (would be nice if it did but maybe out of scope?), so it seems like I have to either:
- stitch different libraries together, one for making syscalls, and
libcto getSECCOMP_GET_ACTION_AVAIL, or - write the low-level code manually
If you know of any code that already does this it would save me time, and it could be a useful addition to the docs. :)
sophie-h
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers