lkml.org 
[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH -V9 7/9] x86: Add new syscalls for x86_32
    Date
    This patch adds sys_name_to_handle_at and sys_open_by_handle_at
    syscalls to x86_32

    Acked-by: Serge Hallyn <serue@us.ibm.com>
    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    ---
    arch/x86/include/asm/unistd_32.h | 4 +++-
    arch/x86/kernel/syscall_table_32.S | 2 ++
    2 files changed, 5 insertions(+), 1 deletions(-)

    diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h
    index beb9b5f..ca792fb 100644
    --- a/arch/x86/include/asm/unistd_32.h
    +++ b/arch/x86/include/asm/unistd_32.h
    @@ -343,10 +343,12 @@
    #define __NR_rt_tgsigqueueinfo 335
    #define __NR_perf_event_open 336
    #define __NR_recvmmsg 337
    +#define __NR_name_to_handle_at 338
    +#define __NR_open_by_handle 339

    #ifdef __KERNEL__

    -#define NR_syscalls 338
    +#define NR_syscalls 340

    #define __ARCH_WANT_IPC_PARSE_VERSION
    #define __ARCH_WANT_OLD_READDIR
    diff --git a/arch/x86/kernel/syscall_table_32.S b/arch/x86/kernel/syscall_table_32.S
    index 8b37293..399b49e 100644
    --- a/arch/x86/kernel/syscall_table_32.S
    +++ b/arch/x86/kernel/syscall_table_32.S
    @@ -337,3 +337,5 @@ ENTRY(sys_call_table)
    .long sys_rt_tgsigqueueinfo /* 335 */
    .long sys_perf_event_open
    .long sys_recvmmsg
    + .long sys_name_to_handle_at
    + .long sys_open_by_handle /* 339 */
    --
    1.7.1.78.g212f0


    \
     
     \ /
      Last update: 2010-05-18 14:03    [W:0.039 / U:120.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site