Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6829
b: refs/heads/master
c: 213b24c
h: refs/heads/master
i:
  6827: 1e0b43c
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Sep 2, 2005
1 parent ee6ce2d commit d4a5279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 03a002e783b71517a5203e681f84a2719e9cec0e
refs/heads/master: 213b24c93b6c43d96973b9db453bf845c97bbe18
2 changes: 1 addition & 1 deletion trunk/fs/binfmt_flat.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ static int load_flat_file(struct linux_binprm * bprm,
DBG_FLT("BINFMT_FLAT: ROM mapping of file (we hope)\n");

down_write(&current->mm->mmap_sem);
textpos = do_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, MAP_SHARED, 0);
textpos = do_mmap(bprm->file, 0, text_len, PROT_READ|PROT_EXEC, MAP_PRIVATE, 0);
up_write(&current->mm->mmap_sem);
if (!textpos || textpos >= (unsigned long) -4096) {
if (!textpos)
Expand Down

0 comments on commit d4a5279

Please sign in to comment.