Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28917
b: refs/heads/master
c: b344e05
h: refs/heads/master
i:
  28915: 08e2096
v: v3
  • Loading branch information
Hua Zhong authored and Linus Torvalds committed Jun 23, 2006
1 parent eb8a837 commit 512f72a
Show file tree
Hide file tree
Showing 2 changed files with 2 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: cfd9b7df4abd3257c9e381b0e445817b26a51c0c
refs/heads/master: b344e05c585406904c70865e531e02467c4c7931
3 changes: 1 addition & 2 deletions trunk/mm/mprotect.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ sys_mprotect(unsigned long start, size_t len, unsigned long prot)
/*
* Does the application expect PROT_READ to imply PROT_EXEC:
*/
if (unlikely((prot & PROT_READ) &&
(current->personality & READ_IMPLIES_EXEC)))
if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC))
prot |= PROT_EXEC;

vm_flags = calc_vm_prot_bits(prot);
Expand Down

0 comments on commit 512f72a

Please sign in to comment.