fanotify: CONFIG_HAVE_SYSCALL_WRAPPERS for sys_fanotify_mark
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 18 Dec 2009 02:24:26 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:56 +0000 (09:58 -0400)
commit9bbfc964b89009d0cadcec7027afc92ee742e95e
tree9dceb71cd3d744ec2c295edbb2542adf9b8d803f
parentef601a9cfd21fe9ce57e0ee3f4a31552ffb96366
fanotify: CONFIG_HAVE_SYSCALL_WRAPPERS for sys_fanotify_mark

Please note that you need the patch below in addition, otherwise the
syscall wrapper stuff won't work on those 32 bit architectures which enable
the wrappers.

When enabled the syscall wrapper defines always take long parameters and then
cast them to whatever is needed. This approach doesn't work for the 32 bit
case where the original syscall takes a long long parameter, since we would
lose the upper 32 bits.
So syscalls with 64 bit arguments are special cases wrt to syscall wrappers
and enp up in the ugliness below (see also sys_fallocate). In addition these
special cased syscall wrappers have the drawback that ftrace syscall tracing
doesn't work on them, since they don't get defined by using the usual macros.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c
This page took 0.025196 seconds and 5 git commands to generate.