]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'setns'
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 May 2011 17:51:01 +0000 (10:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 May 2011 17:51:01 +0000 (10:51 -0700)
* setns:
  ns: Wire up the setns system call

Done as a merge to make it easier to fix up conflicts in arm due to
addition of sendmmsg system call

1  2 
arch/arm/include/asm/unistd.h
arch/arm/kernel/calls.S

index 3de689aa6f6840227ecfd2ccc3e79b73cd787ff0,0c5fc55ad8005649daee6f7e1a82d79244f78083..2c04ed5efeb50707ac3353958434d37691841839
  #define __NR_open_by_handle_at                (__NR_SYSCALL_BASE+371)
  #define __NR_clock_adjtime            (__NR_SYSCALL_BASE+372)
  #define __NR_syncfs                   (__NR_SYSCALL_BASE+373)
 -#define __NR_setns                    (__NR_SYSCALL_BASE+374)
 +#define __NR_sendmmsg                 (__NR_SYSCALL_BASE+374)
++#define __NR_setns                    (__NR_SYSCALL_BASE+375)
  
  /*
   * The following SWIs are ARM private.
index 24cdac3ce2e3e6f8db9c98e480df48b876515b45,a05f75928bea8990ad1c0678e5e309fc2729dc50..80f7896cc0164ad6f74469f1e777b90c1f306443
                CALL(sys_open_by_handle_at)
                CALL(sys_clock_adjtime)
                CALL(sys_syncfs)
 -              CALL(sys_setns)
 +              CALL(sys_sendmmsg)
++/* 375 */     CALL(sys_setns)
  #ifndef syscalls_counted
  .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
  #define syscalls_counted