security: revalidate rw permissions for sys_splice and sys_vmsplice
commit4cb505f532419351d81703e8818c2ef0f9a6e980
authorJames Morris <jmorris@namei.org>
Fri, 13 Jul 2007 09:44:32 +0000 (13 11:44 +0200)
committerOliver Pinter <oliver.pntr@gmail.com>
Thu, 1 May 2008 13:40:27 +0000 (1 15:40 +0200)
treeb43fd2a2fdc0189bddeb202ce9042022701ac88e
parent540add1b55bcae67e16feede0a5f0a0163db3c12
security: revalidate rw permissions for sys_splice and sys_vmsplice

git id: 29ce20586be54ceba49c55ae049541398cd2c416

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>
Backported-by: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
fs/splice.c