Commit 2c2b1e05 authored by "Kipp N. Davis"'s avatar "Kipp N. Davis" Committed by Paul Moore
Browse files

selinux: add permission checks for loading other kinds of kernel files



Although the LSM hooks for loading kernel modules were later generalized
to cover loading other kinds of files, SELinux didn't implement
corresponding permission checks, leaving only the module case covered.
Define and add new permission checks for these other cases.

Signed-off-by: default avatarCameron K. Williams <ckwilliams.work@gmail.com>
Signed-off-by: default avatarKipp N. Davis <kippndavis.work@gmx.com>
Acked-by: default avatarStephen Smalley <stephen.smalley.work@gmail.com>
[PM: merge fuzz, line length, and spacing fixes]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 5fc80fb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment