syscall.h 250 B

123456789101112131415
  1. #ifndef __UM_ASM_SYSCALL_H
  2. #define __UM_ASM_SYSCALL_H
  3. #include <uapi/linux/audit.h>
  4. static inline int syscall_get_arch(void)
  5. {
  6. #ifdef CONFIG_X86_32
  7. return AUDIT_ARCH_I386;
  8. #else
  9. return AUDIT_ARCH_X86_64;
  10. #endif
  11. }
  12. #endif /* __UM_ASM_SYSCALL_H */