Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110759
b: refs/heads/master
c: ea6b184
h: refs/heads/master
i:
  110757: 6699a27
  110755: d685c8a
  110751: f576e57
v: v3
  • Loading branch information
Stephen Smalley authored and James Morris committed Sep 29, 2008
1 parent b76a3c8 commit 35709b7
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: de45e806a84909648623119dfe6fc1d31e71ceba
refs/heads/master: ea6b184f7d521a503ecab71feca6e4057562252b
2 changes: 1 addition & 1 deletion trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ static int inode_doinit_with_dentry(struct inode *inode, struct dentry *opt_dent
/* Default to the fs superblock SID. */
isec->sid = sbsec->sid;

if (sbsec->proc) {
if (sbsec->proc && !S_ISLNK(inode->i_mode)) {
struct proc_inode *proci = PROC_I(inode);
if (proci->pde) {
isec->sclass = inode_mode_to_security_class(inode->i_mode);
Expand Down

0 comments on commit 35709b7

Please sign in to comment.