Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250802
b: refs/heads/master
c: 562abf6
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris committed Apr 28, 2011
1 parent f86b8df commit 2f90841
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2463c26d50adc282d19317013ba0ff473823ca47
refs/heads/master: 562abf624175e3f8487b7f064e516805e437e597
3 changes: 2 additions & 1 deletion trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,8 @@ static int may_create(struct inode *dir,
return rc;

if (!newsid || !(sbsec->flags & SE_SBLABELSUPP)) {
rc = security_transition_sid(sid, dsec->sid, tclass, NULL, &newsid);
rc = security_transition_sid(sid, dsec->sid, tclass,
&dentry->d_name, &newsid);
if (rc)
return rc;
}
Expand Down

0 comments on commit 2f90841

Please sign in to comment.