Fix syscall(__NR_fanotify_mark,...) on arm
In fanotify_mark definition, the third parameter __u64 mask should be
passed by r2/r3 on arm architecture. However, without a correct libc
wrapper, if it invoked directly by syscall, since FAN_OPEN defined as
uint32_t, it will pass the forth parameter through r3. So the kernel
will get wrong __u64 mask like below
sys_fanotify_mark: fanotify_fd=3 flags=1 dfd=33916 pathname= (null) mask=
ffffff9c00000020
The expected one should looks like
sys_fanotify_mark: fanotify_fd=3 flags=1 dfd=-100 pathname=
00008488 mask=20
Please refer to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%
23618562
Change-Id: I0cbce0e05bdaa6a709406089c172ec09fab69d04
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>