From: Pekka Enberg Make revokeat and frevoke system calls available to user-space on i386. Acked-by: Alan Cox Signed-off-by: Pekka Enberg Cc: Christoph Hellwig Cc: Michael Kerrisk Cc: Andi Kleen Cc: Signed-off-by: Andrew Morton --- arch/i386/kernel/syscall_table.S | 2 ++ include/asm-i386/unistd.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff -puN arch/i386/kernel/syscall_table.S~revoke-wire-up-i386-system-calls arch/i386/kernel/syscall_table.S --- a/arch/i386/kernel/syscall_table.S~revoke-wire-up-i386-system-calls +++ a/arch/i386/kernel/syscall_table.S @@ -323,3 +323,5 @@ ENTRY(sys_call_table) .long sys_signalfd .long sys_timerfd .long sys_eventfd + .long sys_revokeat + .long sys_frevoke /* 325 */ diff -puN include/asm-i386/unistd.h~revoke-wire-up-i386-system-calls include/asm-i386/unistd.h --- a/include/asm-i386/unistd.h~revoke-wire-up-i386-system-calls +++ a/include/asm-i386/unistd.h @@ -329,10 +329,12 @@ #define __NR_signalfd 321 #define __NR_timerfd 322 #define __NR_eventfd 323 +#define __NR_revokeat 324 +#define __NR_frevoke 325 #ifdef __KERNEL__ -#define NR_syscalls 324 +#define NR_syscalls 326 #define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_OLD_READDIR _