[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703111331440.765@sbz-30.cs.Helsinki.FI>
Date: Sun, 11 Mar 2007 13:32:04 +0200 (EET)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: akpm@...ux-foundation.org
cc: linux-kernel@...r.kernel.org, hch@...radead.org,
alan@...rguk.ukuu.org.uk
Subject: [PATCH 5/5] revoke: wire up i386 system calls
From: Pekka Enberg <penberg@...helsinki.fi>
Make revokeat and frevoke system calls available to user-space on i386.
Acked-by: Alan Cox <alan@...hat.com>
Signed-off-by: Pekka Enberg <penberg@...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-11 13:05:32.000000000 +0200
+++ uml-2.6/arch/i386/kernel/syscall_table.S 2007-03-11 13:09:23.000000000 +0200
@@ -319,3 +319,6 @@ .long sys_unshare /* 310 */
.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-11 13:05:33.000000000 +0200
+++ uml-2.6/include/asm-i386/unistd.h 2007-03-11 13:09:23.000000000 +0200
@@ -325,10 +325,12 @@ #define __NR_unshare 310
#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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists