diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-07-30 08:30:52 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-08-01 21:39:32 +0200 |
commit | c4637d475170ca0d99973efd07df727012db6cd1 (patch) | |
tree | 8d2f6581dfaf0ea148753845513fff3dd53ce13f /arch/sh/include/asm/seccomp.h | |
parent | sh: Tidy up the _TIF work masks, and fix syscall trace bug on singlestep. (diff) | |
download | linux-c4637d475170ca0d99973efd07df727012db6cd1.tar.xz linux-c4637d475170ca0d99973efd07df727012db6cd1.zip |
sh: seccomp support.
This hooks up the seccomp thread flag and associated callback from the
syscall tracer.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/seccomp.h')
-rw-r--r-- | arch/sh/include/asm/seccomp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/include/asm/seccomp.h b/arch/sh/include/asm/seccomp.h new file mode 100644 index 000000000000..3280ed3802ef --- /dev/null +++ b/arch/sh/include/asm/seccomp.h @@ -0,0 +1,10 @@ +#ifndef __ASM_SECCOMP_H + +#include <linux/unistd.h> + +#define __NR_seccomp_read __NR_read +#define __NR_seccomp_write __NR_write +#define __NR_seccomp_exit __NR_exit +#define __NR_seccomp_sigreturn __NR_rt_sigreturn + +#endif /* __ASM_SECCOMP_H */ |