]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'selinux/master'
authorMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 19:05:38 +0000 (20:05 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 19:05:38 +0000 (20:05 +0100)
1  2 
include/linux/security.h
security/capability.c
security/security.c
security/selinux/hooks.c
security/selinux/include/xfrm.h

Simple merge
Simple merge
Simple merge
index 1e028937781b25bb847d1a22ee7f9d5411821122,c09211a4d7da2b88398d702b87defb1f3a1d2f00..d0aa173dd3bc2f462f8aa599adc160d5475e6611
@@@ -2628,11 -2665,15 +2665,11 @@@ static int selinux_inode_init_security(
                isec->initialized = 1;
        }
  
-       if (!ss_initialized || !(sbsec->flags & SE_SBLABELSUPP))
+       if (!ss_initialized || !(sbsec->flags & SBLABEL_MNT))
                return -EOPNOTSUPP;
  
 -      if (name) {
 -              namep = kstrdup(XATTR_SELINUX_SUFFIX, GFP_NOFS);
 -              if (!namep)
 -                      return -ENOMEM;
 -              *name = namep;
 -      }
 +      if (name)
 +              *name = XATTR_SELINUX_SUFFIX;
  
        if (value && len) {
                rc = security_sid_to_context_force(newsid, &context, &clen);
Simple merge