enosys: add support for sparc
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
This commit is contained in:
parent
f65c49002f
commit
88f76e37a2
1 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,12 @@
|
|||
# else
|
||||
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_ARCV2
|
||||
# endif
|
||||
#elif __sparc__
|
||||
# if __SIZEOF_POINTER__ == 4
|
||||
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_SPARC
|
||||
# else
|
||||
# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_SPARC64
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define syscall_nr (offsetof(struct seccomp_data, nr))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue