System call wrapper special cases
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:14:02 +0000 (14:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:43:52 +0000 (10:43 -0800)
commit925d9133405ee9a204825a92430cab6f11f5403a
tree37f2656b979a46952f441d36f8b0d99b014c2f56
parentdbe48facc1f847c9c75acc284cef827b83e209ae
System call wrapper special cases

commit 6673e0c3fbeaed2cd08e2fd4a4aa97382d6fedb0 upstream.

System calls with an unsigned long long argument can't be converted with
the standard wrappers since that would include a cast to long, which in
turn means that we would lose the upper 32 bit on 32 bit architectures.
Also semctl can't use the standard wrapper since it has a 'union'
parameter.

So we handle them as special case and add some extra wrappers instead.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/dcookies.c
fs/open.c
fs/read_write.c
fs/sync.c
ipc/sem.c
mm/fadvise.c
mm/filemap.c