aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2011-10-08 09:14:18 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2011-10-08 09:14:18 +0000
commit709ef347b7542a03ae01a96556c8fb54013399db (patch)
tree2ea8caa3a577f907d4a2c7052796ff6a570eb463 /sys/security
parent4a955f14cf4fd03f88e09d2d4e2748746a531e1f (diff)
Notes
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac_mls/mac_mls.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index b68790d0259c..73c5df0e426d 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -1636,9 +1636,6 @@ mls_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd,
subj = SLOT(cred->cr_label);
obj = SLOT(shmlabel);
- subj = SLOT(cred->cr_label);
- obj = SLOT(shmlabel);
-
if (accmode & (VREAD | VEXEC | VSTAT_PERMS)) {
if (!mls_dominate_effective(subj, obj))
return (EACCES);