summaryrefslogtreecommitdiff
path: root/src/arch-arm.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-arm.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-arm.c')
-rw-r--r--src/arch-arm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch-arm.c b/src/arch-arm.c
index c389815..e633ca6 100644
--- a/src/arch-arm.c
+++ b/src/arch-arm.c
@@ -92,4 +92,6 @@ const struct arch_def arch_def_arm = {
.syscall_resolve_num_raw = arm_syscall_resolve_num,
.syscall_rewrite = NULL,
.rule_add = NULL,
+ .syscall_name_kver = arm_syscall_name_kver,
+ .syscall_num_kver = arm_syscall_num_kver,
};