summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2011-02-10 03:58:42 (GMT)
committerCasey Schaufler <casey@schaufler-ca.com>2011-02-10 03:58:42 (GMT)
commit75a25637bf8a1b8fbed2368c0a3ec15c66a534f1 (patch)
tree038d52827d9a285fed1bb384f06d7adabf4ef674 /ipc/shm.c
parentdb904aa8147440b750a35d58befed38155a1abb9 (diff)
downloadlinux-75a25637bf8a1b8fbed2368c0a3ec15c66a534f1.tar.xz
Smack: correct final mmap check comparison
The mmap policy enforcement checks the access of the SMACK64MMAP subject against the current subject incorrectly. The check as written works correctly only if the access rules involved have the same access. This is the common case, so initial testing did not find a problem. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions