summaryrefslogtreecommitdiff
path: root/drivers/net/tokenring
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2007-11-26 16:12:53 (GMT)
committerJames Morris <jmorris@namei.org>2007-12-05 13:24:09 (GMT)
commitd313f948309ab22797316e789a7ff8fa358176b6 (patch)
tree7a6d4a54ea7448ce53cf23349eb8a64d7fd93151 /drivers/net/tokenring
parent0955dc03aedfb6a5565445b3f2176255b784cc6a (diff)
downloadlinux-fsl-qoriq-d313f948309ab22797316e789a7ff8fa358176b6.tar.xz
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 'drivers/net/tokenring')
0 files changed, 0 insertions, 0 deletions