Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132580
b: refs/heads/master
c: 97422ab
h: refs/heads/master
v: v3
  • Loading branch information
James Morris committed Jan 29, 2009
1 parent 464732f commit 08a45f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: ef935b9136eeaa203f75bf0b4d6e398c29f44d27
refs/heads/master: 97422ab9ef45118cb7418d799dc69040f17108ce
5 changes: 0 additions & 5 deletions trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -2543,11 +2543,6 @@ static int selinux_mount(char *dev_name,
static int selinux_umount(struct vfsmount *mnt, int flags)
{
const struct cred *cred = current_cred();
int rc;

rc = secondary_ops->sb_umount(mnt, flags);
if (rc)
return rc;

return superblock_has_perm(cred, mnt->mnt_sb,
FILESYSTEM__UNMOUNT, NULL);
Expand Down

0 comments on commit 08a45f2

Please sign in to comment.