Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33551
b: refs/heads/master
c: 9167b0b
h: refs/heads/master
i:
  33549: 3fd0ed8
  33547: 5476074
  33543: d1e22d7
  33535: b175f1d
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Aug 24, 2006
1 parent 2561f40 commit 3a5eaaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: a343bb7750e6a098909c34f5c5dfddbc4fa40053
refs/heads/master: 9167b0b9a0ab7907191523f5a0528e3b9c288e21
6 changes: 0 additions & 6 deletions trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -922,12 +922,6 @@ int prepare_binprm(struct linux_binprm *bprm)
int retval;

mode = inode->i_mode;
/*
* Check execute perms again - if the caller has CAP_DAC_OVERRIDE,
* generic_permission lets a non-executable through
*/
if (!(mode & 0111)) /* with at least _one_ execute bit set */
return -EACCES;
if (bprm->file->f_op == NULL)
return -EACCES;

Expand Down

0 comments on commit 3a5eaaa

Please sign in to comment.