mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 6/7] revoke: wire up i386 system calls
@ 2007-03-09  8:16 Pekka J Enberg
  2007-03-09 12:18 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Pekka J Enberg @ 2007-03-09  8:16 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, hch, alan, serue

From: Pekka Enberg <penberg@cs.helsinki.fi>

Make revokeat and frevoke system calls available to user-space on i386.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
 arch/i386/kernel/syscall_table.S |    3 +++
 include/asm-i386/unistd.h        |    4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Index: uml-2.6/arch/i386/kernel/syscall_table.S
===================================================================
--- uml-2.6.orig/arch/i386/kernel/syscall_table.S	2007-03-08 10:24:23.000000000 +0200
+++ uml-2.6/arch/i386/kernel/syscall_table.S	2007-03-08 10:24:34.000000000 +0200
@@ -319,3 +319,6 @@
 	.long sys_move_pages
 	.long sys_getcpu
 	.long sys_epoll_pwait
+ 	.long sys_revokeat		/* 320 */
+ 	.long sys_frevoke
+
Index: uml-2.6/include/asm-i386/unistd.h
===================================================================
--- uml-2.6.orig/include/asm-i386/unistd.h	2007-03-08 10:24:23.000000000 +0200
+++ uml-2.6/include/asm-i386/unistd.h	2007-03-08 10:24:34.000000000 +0200
@@ -325,10 +325,12 @@
 #define __NR_move_pages		317
 #define __NR_getcpu		318
 #define __NR_epoll_pwait	319
+#define __NR_revokeat		320
+#define __NR_frevoke		321
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 320
+#define NR_syscalls 322
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-09 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-09  8:16 [PATCH 6/7] revoke: wire up i386 system calls Pekka J Enberg
2007-03-09 12:18 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®