Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22506
b: refs/heads/master
c: 8aad387
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Smalley authored and Linus Torvalds committed Mar 22, 2006
1 parent 4800da8 commit 50f5aec
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b20a35035f983f4ac7e29c4a68f30e43510007e0
refs/heads/master: 8aad38752e81d1d4de67e3d8e2524618ce7c9276
2 changes: 1 addition & 1 deletion trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ static int selinux_inode_init_security(struct inode *inode, struct inode *dir,

inode_security_set_sid(inode, newsid);

if (sbsec->behavior == SECURITY_FS_USE_MNTPOINT)
if (!ss_initialized || sbsec->behavior == SECURITY_FS_USE_MNTPOINT)
return -EOPNOTSUPP;

if (name) {
Expand Down

0 comments on commit 50f5aec

Please sign in to comment.