]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] readv/writev syscalls are not checked by lsm
authorKostik Belousov <kostikbel@gmail.com>
Wed, 28 Sep 2005 15:21:28 +0000 (18:21 +0300)
committerChris Wright <chrisw@osdl.org>
Thu, 29 Sep 2005 22:42:08 +0000 (15:42 -0700)
commit8335765f9af27fb4b2ff929376c5c4b468f6d7a9
tree7aa7d712198635b6dac0af3af265808241806bbb
parentc96c44433f1e0187bb30caca544777ab13655da4
[PATCH] readv/writev syscalls are not checked by lsm

it seems that readv(2)/writev(2) syscalls do not call
file_permission callback. Looks like this is overlook.

I have filled the issue into redhat bugzilla as
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169433
and got the recommendation to post this on lsm mailing list.

The following trivial patch solves the problem.

Signed-off-by: Kostik Belousov <kostikbel@gmail.com>
Signed-off-by: Chris Wright <chrisw@osdl.org>
fs/read_write.c