Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132584
b: refs/heads/master
c: f51115b
h: refs/heads/master
v: v3
  • Loading branch information
James Morris committed Jan 29, 2009
1 parent 63d69d0 commit 95c9422
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: dd4907a6d4e038dc65839fcd4030ebefe2f5f439
refs/heads/master: f51115b9ab5b9cfd0b7be1cce75afbf3ffbcdd87
4 changes: 0 additions & 4 deletions trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -2674,11 +2674,7 @@ static int selinux_inode_readlink(struct dentry *dentry)
static int selinux_inode_follow_link(struct dentry *dentry, struct nameidata *nameidata)
{
const struct cred *cred = current_cred();
int rc;

rc = secondary_ops->inode_follow_link(dentry, nameidata);
if (rc)
return rc;
return dentry_has_perm(cred, NULL, dentry, FILE__READ);
}

Expand Down

0 comments on commit 95c9422

Please sign in to comment.