From: Pekka Enberg Make revokeat and frevoke system calls available to user-space on i386. [akpm@linux-foundation.org: fix 32-bit userspace] 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 ++ arch/x86_64/ia32/ia32entry.S | 2 ++ include/asm-i386/unistd.h | 4 +++- 3 files changed, 7 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 @@ -324,3 +324,5 @@ ENTRY(sys_call_table) .long sys_timerfd .long sys_eventfd .long sys_fallocate + .long sys_revokeat /* 325 */ + .long sys_frevoke diff -puN arch/x86_64/ia32/ia32entry.S~revoke-wire-up-i386-system-calls arch/x86_64/ia32/ia32entry.S --- a/arch/x86_64/ia32/ia32entry.S~revoke-wire-up-i386-system-calls +++ a/arch/x86_64/ia32/ia32entry.S @@ -721,4 +721,6 @@ ia32_sys_call_table: .quad compat_sys_timerfd .quad sys_eventfd .quad sys32_fallocate + .quad sys_revokeat /* 325 */ + .quad sys_frevoke ia32_syscall_end: 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 @@ -330,10 +330,12 @@ #define __NR_timerfd 322 #define __NR_eventfd 323 #define __NR_fallocate 324 +#define __NR_revokeat 325 +#define __NR_frevoke 326 #ifdef __KERNEL__ -#define NR_syscalls 325 +#define NR_syscalls 327 #define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_OLD_READDIR _