diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:26 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:55 -0400 |
commit | bbaa4168b2d2d8cc674e6d35806e8426aef464b8 (patch) | |
tree | de2a601befc44628fc19766a3081bf2e3b73da7a /arch/x86/ia32/sys_ia32.c | |
parent | 52c923dd079df49f58016a9e56df184b132611d6 (diff) |
fanotify: sys_fanotify_mark declartion
This patch simply declares the new sys_fanotify_mark syscall
int fanotify_mark(int fanotify_fd, unsigned int flags, u64_mask,
int dfd const char *pathname)
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'arch/x86/ia32/sys_ia32.c')
-rw-r--r-- | arch/x86/ia32/sys_ia32.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index 626be156d88d..3d093311d5e2 100644 --- a/arch/x86/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c | |||
@@ -546,3 +546,12 @@ asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_lo, | |||
546 | return sys_fallocate(fd, mode, ((u64)offset_hi << 32) | offset_lo, | 546 | return sys_fallocate(fd, mode, ((u64)offset_hi << 32) | offset_lo, |
547 | ((u64)len_hi << 32) | len_lo); | 547 | ((u64)len_hi << 32) | len_lo); |
548 | } | 548 | } |
549 | |||
550 | asmlinkage long sys32_fanotify_mark(int fanotify_fd, unsigned int flags, | ||
551 | u32 mask_lo, u32 mask_hi, | ||
552 | int fd, const char __user *pathname) | ||
553 | { | ||
554 | return sys_fanotify_mark(fanotify_fd, flags, | ||
555 | ((u64)mask_hi << 32) | mask_lo, | ||
556 | fd, pathname); | ||
557 | } | ||