Date: Sat, 15 Oct 2011 12:05:42 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r226384 - stable/9/sys/security/mac_mls Message-ID: <201110151205.p9FC5gra012579@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Sat Oct 15 12:05:42 2011 New Revision: 226384 URL: http://svn.freebsd.org/changeset/base/226384 Log: MFC: r226143 Remove two dublicated assignments. Approved by: re (kib) Modified: stable/9/sys/security/mac_mls/mac_mls.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/amd64/include/xen/ (props changed) stable/9/sys/boot/ (props changed) stable/9/sys/boot/i386/efi/ (props changed) stable/9/sys/boot/ia64/efi/ (props changed) stable/9/sys/boot/ia64/ski/ (props changed) stable/9/sys/boot/powerpc/boot1.chrp/ (props changed) stable/9/sys/boot/powerpc/ofw/ (props changed) stable/9/sys/cddl/contrib/opensolaris/ (props changed) stable/9/sys/conf/ (props changed) stable/9/sys/contrib/dev/acpica/ (props changed) stable/9/sys/contrib/octeon-sdk/ (props changed) stable/9/sys/contrib/pf/ (props changed) stable/9/sys/contrib/x86emu/ (props changed) Modified: stable/9/sys/security/mac_mls/mac_mls.c ============================================================================== --- stable/9/sys/security/mac_mls/mac_mls.c Sat Oct 15 12:05:31 2011 (r226383) +++ stable/9/sys/security/mac_mls/mac_mls.c Sat Oct 15 12:05:42 2011 (r226384) @@ -1636,9 +1636,6 @@ mls_posixshm_check_open(struct ucred *cr 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110151205.p9FC5gra012579>