]> err.no Git - linux-2.6/commit
security: revalidate rw permissions for sys_splice and sys_vmsplice
authorJames Morris <jmorris@namei.org>
Fri, 13 Jul 2007 09:44:32 +0000 (11:44 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 13 Jul 2007 12:14:29 +0000 (14:14 +0200)
commit29ce20586be54ceba49c55ae049541398cd2c416
tree5ac0ef4c9debefff4fdacfdebab481985eb7341a
parentd3f35d98b3b87d2506289320375687c6e9bc53ed
security: revalidate rw permissions for sys_splice and sys_vmsplice

Revalidate read/write permissions for splice(2) and vmslice(2), in case
security policy has changed since the files were opened.

Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/splice.c