Re: [PATCH] wire up fanotify and prlimit64 syscalls on Alpha

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 16, 2010 at 10:12 AM, Mikael Pettersson <mikpe@xxxxxxxx> wrote:
> The 2.6.36-rc kernel added three new system calls:
> fanotify_init, fanotify_mark, and prlimit64.  This
> patch wires them up on Alpha.
>
> Built and booted on an XP900.  Untested beyond that.
>
> Signed-off-by: Mikael Pettersson <mikpe@xxxxxxxx>
> ---
>  arch/alpha/include/asm/unistd.h |    5 ++++-
>  arch/alpha/kernel/systbls.S     |    3 +++
>  2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff -rupN linux-2.6.36-rc4/arch/alpha/include/asm/unistd.h linux-2.6.36-rc4.alpha-fanotify+prlimit64-syscalls/arch/alpha/include/asm/unistd.h
> --- linux-2.6.36-rc4/arch/alpha/include/asm/unistd.h    2010-02-25 14:45:00.000000000 +0100
> +++ linux-2.6.36-rc4.alpha-fanotify+prlimit64-syscalls/arch/alpha/include/asm/unistd.h  2010-09-16 15:50:45.000000000 +0200
> @@ -449,10 +449,13 @@
>  #define __NR_pwritev                   491
>  #define __NR_rt_tgsigqueueinfo         492
>  #define __NR_perf_event_open           493
> +#define __NR_fanotify_init             494
> +#define __NR_fanotify_mark             495
> +#define __NR_prlimit64                 496
>
>  #ifdef __KERNEL__
>
> -#define NR_SYSCALLS                    494
> +#define NR_SYSCALLS                    497
>
>  #define __ARCH_WANT_IPC_PARSE_VERSION
>  #define __ARCH_WANT_OLD_READDIR
> diff -rupN linux-2.6.36-rc4/arch/alpha/kernel/systbls.S linux-2.6.36-rc4.alpha-fanotify+prlimit64-syscalls/arch/alpha/kernel/systbls.S
> --- linux-2.6.36-rc4/arch/alpha/kernel/systbls.S        2010-02-25 14:45:00.000000000 +0100
> +++ linux-2.6.36-rc4.alpha-fanotify+prlimit64-syscalls/arch/alpha/kernel/systbls.S      2010-09-16 15:50:45.000000000 +0200
> @@ -512,6 +512,9 @@ sys_call_table:
>        .quad sys_pwritev
>        .quad sys_rt_tgsigqueueinfo
>        .quad sys_perf_event_open
> +       .quad sys_fanotify_init
> +       .quad sys_fanotify_mark                         /* 495 */
> +       .quad sys_prlimit64
>
>        .size sys_call_table, . - sys_call_table
>        .type sys_call_table, @object
> --

Thanks! Will apply.
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux