diff options
author | Paul Moore <paul@paul-moore.com> | 2021-08-04 11:51:12 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-08-12 12:38:42 -0400 |
commit | f454456e261930d94b3a1a444b6bac75c11c3cb0 (patch) | |
tree | 67a35a1ac9c66b6623277af82499829ba51077b9 /src/arch-parisc.c | |
parent | 4ef8ff4ff33035245a3f477f251500c5024d9cdf (diff) | |
download | libseccomp-f454456e261930d94b3a1a444b6bac75c11c3cb0.tar.gz |
arch: consolidate all of the multiplexed syscall handling
Not only does this reduce the amount of duplicated code
significantly, it removes a lot of the "magic" numbers in the
code, and it happened to catch some bugs too.
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit 17cbd2c253ce63e5e9e3cec867ff58efbe8b5fdc)
Diffstat (limited to 'src/arch-parisc.c')
-rw-r--r-- | src/arch-parisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch-parisc.c b/src/arch-parisc.c index f317fed..4440a04 100644 --- a/src/arch-parisc.c +++ b/src/arch-parisc.c @@ -15,8 +15,8 @@ const struct arch_def arch_def_parisc = { .token_bpf = AUDIT_ARCH_PARISC, .size = ARCH_SIZE_32, .endian = ARCH_ENDIAN_BIG, - .syscall_resolve_name = parisc_syscall_resolve_name, - .syscall_resolve_num = parisc_syscall_resolve_num, + .syscall_resolve_name_raw = parisc_syscall_resolve_name, + .syscall_resolve_num_raw = parisc_syscall_resolve_num, .syscall_rewrite = NULL, .rule_add = NULL, }; |