]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CVE-2009-0029] System call wrapper special cases
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:14:02 +0000 (14:14 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 14 Jan 2009 13:15:18 +0000 (14:15 +0100)
commit6673e0c3fbeaed2cd08e2fd4a4aa97382d6fedb0
treeeb33a94f5e4b0e035001f7c96ef44cade0fbb489
parented6bb6194350dc6ae97a65dbf2d621a3dbe6bbe9
[CVE-2009-0029] System call wrapper special cases

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>
fs/dcookies.c
fs/open.c
fs/read_write.c
fs/sync.c
ipc/sem.c
mm/fadvise.c
mm/filemap.c