[RFC/PATCH 6/8] revoke: wire up i386 system call V7

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

 



From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>

Make revokeat system call available to user-space on i386.

[akpm@xxxxxxxxxxxxxxxxxxxx: fix 32-bit userspace]
Cc: Alan Cox <alan@xxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
---
 arch/x86/ia32/ia32entry.S          |    1 +
 arch/x86/kernel/syscall_table_32.S |    1 +
 include/asm-x86/unistd_32.h        |    3 ++-
 3 files changed, 4 insertions(+), 1 deletion(-)

Index: 2.6/arch/x86/ia32/ia32entry.S
===================================================================
--- 2.6.orig/arch/x86/ia32/ia32entry.S	2007-11-23 09:58:11.000000000 +0200
+++ 2.6/arch/x86/ia32/ia32entry.S	2007-12-14 16:40:59.000000000 +0200
@@ -726,4 +726,5 @@ 	.quad compat_sys_utimensat	/* 320 */
 	.quad compat_sys_timerfd
 	.quad sys_eventfd
 	.quad sys32_fallocate
+	.quad sys_revokeat		/* 325 */
 ia32_syscall_end:
Index: 2.6/arch/x86/kernel/syscall_table_32.S
===================================================================
--- 2.6.orig/arch/x86/kernel/syscall_table_32.S	2007-11-23 09:58:11.000000000 +0200
+++ 2.6/arch/x86/kernel/syscall_table_32.S	2007-12-14 16:40:59.000000000 +0200
@@ -324,3 +324,4 @@ 	.long sys_utimensat		/* 320 */
 	.long sys_timerfd
 	.long sys_eventfd
 	.long sys_fallocate
+	.long sys_revokeat		/* 325 */
Index: 2.6/include/asm-x86/unistd_32.h
===================================================================
--- 2.6.orig/include/asm-x86/unistd_32.h	2007-11-23 09:58:11.000000000 +0200
+++ 2.6/include/asm-x86/unistd_32.h	2007-12-14 16:40:59.000000000 +0200
@@ -330,10 +330,11 @@ #define __NR_utimensat		320
 #define __NR_timerfd		322
 #define __NR_eventfd		323
 #define __NR_fallocate		324
+#define __NR_revokeat		325
 
 #ifdef __KERNEL__
 
-#define NR_syscalls 325
+#define NR_syscalls 326
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_OLD_READDIR
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux