diff options
author | Paul Moore <paul@paul-moore.com> | 2017-02-02 19:22:42 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-02-02 19:22:42 -0500 |
commit | d49008ca26d7c9fad93d166969caf1c91338b455 (patch) | |
tree | f138d79da141929e8fb1f22a86655239449a2455 /src/arch-mips64n32-syscalls.c | |
parent | 73560412e51c6e9f53466ebfbd2d36707a7e4006 (diff) | |
download | libseccomp-d49008ca26d7c9fad93d166969caf1c91338b455.tar.gz |
all: update the syscall validation code/scripts for January 2017
A variety of updates to reflect changes in the Linux Kernel and
the library itself with the goal of making sure the syscall
checking scripts continue to work.
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit 486c16401ea59657750987b19641d4b8fcc972e2)
Diffstat (limited to 'src/arch-mips64n32-syscalls.c')
-rw-r--r-- | src/arch-mips64n32-syscalls.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch-mips64n32-syscalls.c b/src/arch-mips64n32-syscalls.c index 3484882..1525f8b 100644 --- a/src/arch-mips64n32-syscalls.c +++ b/src/arch-mips64n32-syscalls.c @@ -510,15 +510,15 @@ const char *mips64n32_syscall_resolve_num(int num) } /** - * Iterate through the syscall table and return the syscall name + * Iterate through the syscall table and return the syscall mapping * @param spot the offset into the syscall table * - * Return the syscall name at position @spot or NULL on failure. This function - * should only ever be used internally by libseccomp. + * Return the syscall mapping at position @spot or NULL on failure. This + * function should only ever be used internally by libseccomp. * */ -const char *mips64n32_syscall_iterate_name(unsigned int spot) +const struct arch_syscall_def *mips64n32_syscall_iterate(unsigned int spot) { /* XXX - no safety checks here */ - return mips64n32_syscall_table[spot].name; + return &mips64n32_syscall_table[spot]; } |