aboutsummaryrefslogtreecommitdiff
path: root/fs/file.c
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 /fs/file.c
parent0955dc03aedfb6a5565445b3f2176255b784cc6a (diff)
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 'fs/file.c')
0 files changed, 0 insertions, 0 deletions