]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fix mips sys32_p{read,write}
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 26 Apr 2006 06:28:09 +0000 (07:28 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Apr 2006 14:52:21 +0000 (07:52 -0700)
commit6ad0013b316367671ef316cff91ab2d912e309c9
treeff07d7294b9aa8ff2ae11c91d214f0a424e9b180
parentde0bb97aff6743f71abb8ec581238e2bdae9cdd1
[PATCH] fix mips sys32_p{read,write}

Switched to use of sys_pread64()/sys_pwrite64() rather than keep duplicating
their guts; among the little things that had been missing there were such as
ret = security_file_permission (file, MAY_READ);
Gotta love the LSM robustness, right?

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/mips/kernel/linux32.c