]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'selinux/master'
authorThierry Reding <treding@nvidia.com>
Mon, 21 Oct 2013 11:30:04 +0000 (13:30 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 21 Oct 2013 11:30:04 +0000 (13:30 +0200)
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 c540795fb3f2647619cb4705281872e93592e21e,c09211a4d7da2b88398d702b87defb1f3a1d2f00..794c3ca49eac92998caa17be71a4bdc472c2e9c8
@@@ -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