seccomp.h 471 B

1234567891011121314151617181920
  1. #ifndef _ASM_X86_SECCOMP_H
  2. #define _ASM_X86_SECCOMP_H
  3. #include <asm/unistd.h>
  4. #ifdef CONFIG_X86_32
  5. #define __NR_seccomp_sigreturn __NR_sigreturn
  6. #endif
  7. #ifdef CONFIG_COMPAT
  8. #include <asm/ia32_unistd.h>
  9. #define __NR_seccomp_read_32 __NR_ia32_read
  10. #define __NR_seccomp_write_32 __NR_ia32_write
  11. #define __NR_seccomp_exit_32 __NR_ia32_exit
  12. #define __NR_seccomp_sigreturn_32 __NR_ia32_sigreturn
  13. #endif
  14. #include <asm-generic/seccomp.h>
  15. #endif /* _ASM_X86_SECCOMP_H */