]> git.hungrycats.org Git - linux/commit
[PATCH] Reduce SELinux check on KDSKBENT/SENT ioctls
authorAndrew Morton <akpm@osdl.org>
Tue, 30 Dec 2003 07:42:55 +0000 (23:42 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 30 Dec 2003 07:42:55 +0000 (23:42 -0800)
commit38181ac4b92c29575c5c5fcce8cf9fcf76785ed1
tree0413e2686c8e31a84914e3a5dad2b730d5170264
parentf1f4662e222e469de9b5bbd77fbaa025236a5746
[PATCH] Reduce SELinux check on KDSKBENT/SENT ioctls

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch reduces the full capability check in the SELinux module for the
KDSKBENT/SENT ioctls to only check the corresponding SELinux permission,
avoiding a change to the Linux permissions model for these operations.
security/selinux/hooks.c