Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118289
b: refs/heads/master
c: 3318a38
h: refs/heads/master
i:
  118287: 79351f3
v: v3
  • Loading branch information
Serge Hallyn authored and Linus Torvalds committed Nov 1, 2008
1 parent b79d35c commit e356b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: e06f42d6c127883e58b747048752f44ae208ae47
refs/heads/master: 3318a386e4ca68c76e0294363d29bdc46fcad670
6 changes: 3 additions & 3 deletions trunk/security/commoncap.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ static int get_file_caps(struct linux_binprm *bprm)
struct vfs_cap_data vcaps;
struct inode *inode;

if (bprm->file->f_vfsmnt->mnt_flags & MNT_NOSUID) {
bprm_clear_caps(bprm);
bprm_clear_caps(bprm);

if (bprm->file->f_vfsmnt->mnt_flags & MNT_NOSUID)
return 0;
}

dentry = dget(bprm->file->f_dentry);
inode = dentry->d_inode;
Expand Down

0 comments on commit e356b5a

Please sign in to comment.