aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2007-11-26 11:12:53 -0500
committerJames Morris <jmorris@namei.org>2007-12-06 00:24:09 +1100
commitd313f948309ab22797316e789a7ff8fa358176b6 (patch)
tree7a6d4a54ea7448ce53cf23349eb8a64d7fd93151 /mm
parentSELinux: do not clear f_op when removing entries (diff)
downloadlinux-dev-d313f948309ab22797316e789a7ff8fa358176b6.tar.xz
linux-dev-d313f948309ab22797316e789a7ff8fa358176b6.zip
SELinux: detect dead booleans
Instead of using f_op to detect dead booleans, check the inode index against the number of booleans and check the dentry name against the boolean name for that index on reads and writes. This prevents incorrect use of a boolean file opened prior to a policy reload while allowing valid use of it as long as it still corresponds to the same boolean in the policy. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions