Commit 7dadb755b082c259f7dd4a95a3a6eb21646a28d5

Authored by Aneesh Kumar K.V
Committed by Al Viro
1 parent f17b604207

x86: Add new syscalls for x86_32

This patch adds new syscalls to x86_32

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 2 changed files with 5 additions and 1 deletions Side-by-side Diff

arch/x86/include/asm/unistd_32.h
... ... @@ -346,10 +346,12 @@
346 346 #define __NR_fanotify_init 338
347 347 #define __NR_fanotify_mark 339
348 348 #define __NR_prlimit64 340
  349 +#define __NR_name_to_handle_at 341
  350 +#define __NR_open_by_handle_at 342
349 351  
350 352 #ifdef __KERNEL__
351 353  
352   -#define NR_syscalls 341
  354 +#define NR_syscalls 343
353 355  
354 356 #define __ARCH_WANT_IPC_PARSE_VERSION
355 357 #define __ARCH_WANT_OLD_READDIR
arch/x86/kernel/syscall_table_32.S
... ... @@ -340,4 +340,6 @@
340 340 .long sys_fanotify_init
341 341 .long sys_fanotify_mark
342 342 .long sys_prlimit64 /* 340 */
  343 + .long sys_name_to_handle_at
  344 + .long sys_open_by_handle_at