Author: brueffer
Date: Sat Oct  8 09:14:18 2011
New Revision: 226143
URL: http://svn.freebsd.org/changeset/base/226143

Log:
  Remove two dublicated assignments.
  
  CID:          9870
  Found with:   Coverity Prevent(tm)
  Confirmed by: rwatson
  MFC after:    1 week

Modified:
  head/sys/security/mac_mls/mac_mls.c

Modified: head/sys/security/mac_mls/mac_mls.c
==============================================================================
--- head/sys/security/mac_mls/mac_mls.c Sat Oct  8 09:06:43 2011        
(r226142)
+++ head/sys/security/mac_mls/mac_mls.c Sat Oct  8 09:14:18 2011        
(r226143)
@@ -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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to