diff options
author | Paul Moore <pmoore@redhat.com> | 2015-05-06 12:05:45 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-05-06 12:05:45 -0400 |
commit | a710a2d246bdc73ba77e3ff5624e790688cc51fd (patch) | |
tree | 76f3356cc31d1023cc71e55bbb470801589039c0 /include/seccomp.h.in | |
parent | d1019115acdc8460c9a1f8a878768001a3c32431 (diff) | |
download | libseccomp-a710a2d246bdc73ba77e3ff5624e790688cc51fd.tar.gz |
arm: add some missing syscalls
Add the following syscalls to the ARM arch/ABI and update the syscall
validation script.
* breakpoint()
* cacheflush()
* usr26()
* usr32()
* set_tls()
Reported-by: Purcareata Bogdan <b43198@freescale.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'include/seccomp.h.in')
-rw-r--r-- | include/seccomp.h.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/seccomp.h.in b/include/seccomp.h.in index 9a28e4a..d3b3a60 100644 --- a/include/seccomp.h.in +++ b/include/seccomp.h.in @@ -1434,6 +1434,26 @@ int seccomp_export_bpf(const scmp_filter_ctx ctx, int fd); #define __NR_mmap __PNR_mmap #endif /* __NR_utimes */ +#define __PNR_breakpoint -10182 +#ifndef __NR_breakpoint +#define __NR_breakpoint __PNR_breakpoint +#endif /* __NR_breakpoint */ + +#define __PNR_set_tls -10183 +#ifndef __NR_set_tls +#define __NR_set_tls __PNR_set_tls +#endif /* __NR_set_tls */ + +#define __PNR_usr26 -10184 +#ifndef __NR_usr26 +#define __NR_usr26 __PNR_usr26 +#endif /* __NR_usr26 */ + +#define __PNR_usr32 -10185 +#ifndef __NR_usr32 +#define __NR_usr32 __PNR_usr32 +#endif /* __NR_usr32 */ + #ifdef __cplusplus } #endif |