security: revalidate rw permissions for sys_splice and sys_vmsplice
commit6d249152c57d449d07f19e451d846a149400df39
authorJames Morris <jmorris@namei.org>
Fri, 13 Jul 2007 09:44:32 +0000 (13 11:44 +0200)
committerOliver Pinter <oliver.pntr@gmail.com>
Wed, 16 Apr 2008 16:40:12 +0000 (16 18:40 +0200)
tree08f69d3276ba54cf229695a6da2a9829a8075918
parentdcc11995345df83061c24252916c59737e1ff09c
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