Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84721
b: refs/heads/master
c: abe8be3
h: refs/heads/master
i:
  84719: df65d1d
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Feb 8, 2008
1 parent eb3d719 commit 3404c42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 531d7d4256f3726b93f7a91f97132a944ab28148
refs/heads/master: abe8be3abe4c2043bd766f32d7eba62c12dbb0b3
5 changes: 3 additions & 2 deletions trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ asmlinkage long sys_uselib(const char __user * library)
if (error)
goto exit;

file = nameidata_to_filp(&nd, O_RDONLY);
file = nameidata_to_filp(&nd, O_RDONLY|O_LARGEFILE);
error = PTR_ERR(file);
if (IS_ERR(file))
goto out;
Expand Down Expand Up @@ -658,7 +658,8 @@ struct file *open_exec(const char *name)
int err = vfs_permission(&nd, MAY_EXEC);
file = ERR_PTR(err);
if (!err) {
file = nameidata_to_filp(&nd, O_RDONLY);
file = nameidata_to_filp(&nd,
O_RDONLY|O_LARGEFILE);
if (!IS_ERR(file)) {
err = deny_write_access(file);
if (err) {
Expand Down

0 comments on commit 3404c42

Please sign in to comment.