Skip to content
Commit 8766ce41 authored by Kostik Belousov's avatar Kostik Belousov Committed by Linus Torvalds
Browse files

[PATCH] aio syscalls are not checked by lsm



Another case of missing call to security_file_permission: aio functions
(namely, io_submit) does not check credentials with security modules.

Below is the simple patch to the problem.  It seems that it is enough to
check for rights at the request submission time.

Signed-off-by: default avatarKostik Belousov <kostikbel@gmail.com>
Signed-off-by: default avatarChris Wright <chrisw@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a9913044
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment