blob: 853765eb1f6584e23edc6f1c8c3272814c0fa395 [file] [log] [blame]
Jon Loeliger2bfadee2005-09-23 08:05:03 -05001#ifndef _ASM_POWERPC_SECCOMP_H
Arnd Bergmann88ced032005-12-16 22:43:46 +01002#define _ASM_POWERPC_SECCOMP_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Paul Mackerras42650d82005-12-20 18:43:52 +11004#ifdef __KERNEL__
Jon Loeliger2bfadee2005-09-23 08:05:03 -05005#include <linux/thread_info.h>
Arnd Bergmann88ced032005-12-16 22:43:46 +01006#endif
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#include <linux/unistd.h>
9
10#define __NR_seccomp_read __NR_read
11#define __NR_seccomp_write __NR_write
12#define __NR_seccomp_exit __NR_exit
13#define __NR_seccomp_sigreturn __NR_rt_sigreturn
14
15#define __NR_seccomp_read_32 __NR_read
16#define __NR_seccomp_write_32 __NR_write
17#define __NR_seccomp_exit_32 __NR_exit
18#define __NR_seccomp_sigreturn_32 __NR_sigreturn
19
Jon Loeliger2bfadee2005-09-23 08:05:03 -050020#endif /* _ASM_POWERPC_SECCOMP_H */