Skip to contentSkip to conversation

wire up fanotify and prlimit64 syscalls on Alpha

PATCH In review Mikael Pettersson 2 participants 2 messages Sep 16, 2010 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wire up fanotify and prlimit64 syscalls on Alpha

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.

---
 arch/alpha/include/asm/unistd.h |    5 ++++-
 arch/alpha/kernel/systbls.S     |    3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)
arch/alpha/include/asm/unistd.h +4 -1
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
@@ -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
arch/alpha/kernel/systbls.S +3 -0
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
@@ -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
maintainer
#1 lore raw
Quoted 41 lines · Mikael Pettersson

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.

---
 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

arch/alpha/include/asm/unistd.h  2010-09-16 15:50:45.000000000 +0200 renamed from arch/alpha/include/asm/unistd.h    2010-02-25 14:45:00.000000000 +0100 +4 -1
@@ -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

arch/alpha/kernel/systbls.S      2010-09-16 15:50:45.000000000 +0200 renamed from arch/alpha/kernel/systbls.S        2010-02-25 14:45:00.000000000 +0100 +0 -0
@@ -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

Quoted 3 lines

       .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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html