Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312227
b: refs/heads/master
c: ea13137
h: refs/heads/master
i:
  312225: 03be2fd
  312223: 7292a68
v: v3
  • Loading branch information
Oleg Nesterov authored and Ingo Molnar committed Jun 16, 2012
1 parent 03bd37c commit 5ae8597
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e2b297fcf17fc03734e93387fb8195c782286b35
refs/heads/master: ea131377148cdfe90641b42ae9aa5a6b3a4fa327
3 changes: 2 additions & 1 deletion trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ static bool valid_vma(struct vm_area_struct *vma, bool is_register)
if (!is_register)
return true;

if ((vma->vm_flags & (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)) == (VM_READ|VM_EXEC))
if ((vma->vm_flags & (VM_HUGETLB|VM_READ|VM_WRITE|VM_EXEC|VM_SHARED))
== (VM_READ|VM_EXEC))
return true;

return false;
Expand Down

0 comments on commit 5ae8597

Please sign in to comment.