1
2
3
4
5
6
7
8
9
10
11
12
13
14#include <linux/compat.h>
15#include <linux/kernel.h>
16#include <linux/syscalls.h>
17
18
19asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23,
20 int r22, int r21, int r20)
21{
22 printk(KERN_ERR "%s(%d): Unimplemented 32 on 64 syscall #%d!\n",
23 current->comm, current->pid, r20);
24 return -ENOSYS;
25}
26
27asmlinkage long sys32_fanotify_mark(compat_int_t fanotify_fd, compat_uint_t flags,
28 compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd,
29 const char __user * pathname)
30{
31 return sys_fanotify_mark(fanotify_fd, flags,
32 ((__u64)mask1 << 32) | mask0,
33 dfd, pathname);
34}
35