From: Pekka J Enberg <penberg@cs.helsinki.fi>
To: linux-fsdevel@vger.kernel.org
Subject: [RFC/PATCH 3/5] revoke: wire up i386 system calls
Date: Wed, 11 Jul 2007 12:01:26 +0300 (EEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707111201070.6850@sbz-30.cs.Helsinki.FI> (raw)
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 | 2 ++
arch/x86_64/ia32/ia32entry.S | 2 ++
include/asm-i386/unistd.h | 4 +++-
3 files changed, 7 insertions(+), 1 deletion(-)
Index: 2.6/arch/i386/kernel/syscall_table.S
===================================================================
--- 2.6.orig/arch/i386/kernel/syscall_table.S 2007-05-21 15:38:00.000000000 +0300
+++ 2.6/arch/i386/kernel/syscall_table.S 2007-07-11 11:48:39.000000000 +0300
@@ -323,3 +323,5 @@ .long sys_utimensat /* 320 */
.long sys_signalfd
.long sys_timerfd
.long sys_eventfd
+ .long sys_revokeat
+ .long sys_frevoke /* 325 */
Index: 2.6/include/asm-i386/unistd.h
===================================================================
--- 2.6.orig/include/asm-i386/unistd.h 2007-05-21 15:38:15.000000000 +0300
+++ 2.6/include/asm-i386/unistd.h 2007-07-11 11:48:39.000000000 +0300
@@ -329,10 +329,12 @@ #define __NR_utimensat 320
#define __NR_signalfd 321
#define __NR_timerfd 322
#define __NR_eventfd 323
+#define __NR_revokeat 324
+#define __NR_frevoke 325
#ifdef __KERNEL__
-#define NR_syscalls 324
+#define NR_syscalls 326
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
Index: 2.6/arch/x86_64/ia32/ia32entry.S
===================================================================
--- 2.6.orig/arch/x86_64/ia32/ia32entry.S 2007-07-06 10:19:44.000000000 +0300
+++ 2.6/arch/x86_64/ia32/ia32entry.S 2007-07-11 11:48:40.000000000 +0300
@@ -719,4 +719,6 @@ .quad compat_sys_utimensat /* 320 */
.quad compat_sys_signalfd
.quad compat_sys_timerfd
.quad sys_eventfd
+ .quad sys_revokeat
+ .quad sys_frevoke /* 325 */
ia32_syscall_end:
reply other threads:[~2007-07-11 9:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0707111201070.6850@sbz-30.cs.Helsinki.FI \
--to=penberg@cs.helsinki.fi \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).