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 @@ -320,3 +320,5 @@ ENTRY(sys_call_table) .long sys_getcpu .long sys_epoll_pwait .long sys_lutimesat /* 320 */ + .long sys_revokeat + .long sys_frevoke 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 @@ -326,10 +326,12 @@ #define __NR_getcpu 318 #define __NR_epoll_pwait 319 #define __NR_lutimesat 320 +#define __NR_revokeat 321 +#define __NR_frevoke 322 #ifdef __KERNEL__ -#define NR_syscalls 321 +#define NR_syscalls 323 #define __ARCH_WANT_IPC_PARSE_VERSION #define __ARCH_WANT_OLD_READDIR _