diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-01-25 19:21:31 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-01-26 16:29:34 +0100 |
commit | daf8d057cebf4b304c11b10cd6e6c98e19710630 (patch) | |
tree | 7c159040e772b525ea27d8949594998e13381a42 /netlink.c | |
parent | 1eb14d730502d3f87111ae50d997e48def660623 (diff) | |
download | passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.tar passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.tar.gz passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.tar.bz2 passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.tar.lz passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.tar.xz passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.tar.zst passt-daf8d057cebf4b304c11b10cd6e6c98e19710630.zip |
seccomp: Introduce mechanism to allow per-arch syscalls
Some C library functions are commonly implemented by different syscalls
on different architectures. Add a mechanism to allow selected syscalls
for a single architecture, syntax in #syscalls comment is:
#syscalls <arch>:<name>
e.g. s390x:socketcall, given that socketcall() is commonly used there
instead of socket().
This is now implemented by a compiler probe for syscall numbers,
auditd tools (ausyscall) are not required anymore as a result.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'netlink.c')
0 files changed, 0 insertions, 0 deletions