|
@@ -4,6 +4,7 @@
|
|
* Copyright (C) 2000-2001 Hewlett Packard Company
|
|
* Copyright (C) 2000-2001 Hewlett Packard Company
|
|
* Copyright (C) 2000 John Marvin
|
|
* Copyright (C) 2000 John Marvin
|
|
* Copyright (C) 2001 Matthew Wilcox
|
|
* Copyright (C) 2001 Matthew Wilcox
|
|
|
|
+ * Copyright (C) 2014 Helge Deller <deller@gmx.de>
|
|
*
|
|
*
|
|
* These routines maintain argument size conversion between 32bit and 64bit
|
|
* These routines maintain argument size conversion between 32bit and 64bit
|
|
* environment. Based heavily on sys_ia32.c and sys_sparc32.c.
|
|
* environment. Based heavily on sys_ia32.c and sys_sparc32.c.
|
|
@@ -57,3 +58,12 @@ asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23,
|
|
current->comm, current->pid, r20);
|
|
current->comm, current->pid, r20);
|
|
return -ENOSYS;
|
|
return -ENOSYS;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+asmlinkage long sys32_fanotify_mark(compat_int_t fanotify_fd, compat_uint_t flags,
|
|
|
|
+ compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd,
|
|
|
|
+ const char __user * pathname)
|
|
|
|
+{
|
|
|
|
+ return sys_fanotify_mark(fanotify_fd, flags,
|
|
|
|
+ ((__u64)mask1 << 32) | mask0,
|
|
|
|
+ dfd, pathname);
|
|
|
|
+}
|