summaryrefslogtreecommitdiff
path: root/src/arch-s390x.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2022-04-28 15:29:07 -0400
committerPaul Moore <paul@paul-moore.com>2022-05-09 19:18:01 -0400
commit72198d99dd6fda40c1e6d0524caa61d82eddcf45 (patch)
tree671ce368521e7907a753732645c78523a355fc19 /src/arch-s390x.c
parent832b65b0fe408f538cf84b361eb7261eb7243b00 (diff)
downloadlibseccomp-72198d99dd6fda40c1e6d0524caa61d82eddcf45.tar.gz
arch: basic infrastructure for tracking per-syscall/ABI kernel versions
This commit adds basic support for tracking what kernel introduced a syscall for a given arch/ABI. It does not provide any of that kernel version information, leaving only a SCMP_KV_UNDEF placeholder, nor does it attempt to do anything meaningful with this new source of information; this patch simply establishes a new syscalls.csv format so that we can start properly recording the kernel versions. Acked-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'src/arch-s390x.c')
-rw-r--r--src/arch-s390x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch-s390x.c b/src/arch-s390x.c
index 0f0f619..f4d5754 100644
--- a/src/arch-s390x.c
+++ b/src/arch-s390x.c
@@ -32,4 +32,6 @@ const struct arch_def arch_def_s390x = {
.syscall_resolve_num_raw = s390x_syscall_resolve_num,
.syscall_rewrite = abi_syscall_rewrite,
.rule_add = abi_rule_add,
+ .syscall_name_kver = s390x_syscall_name_kver,
+ .syscall_num_kver = s390x_syscall_num_kver,
};