Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334757
b: refs/heads/master
c: 78a3205
h: refs/heads/master
i:
  334755: 99ed203
v: v3
  • Loading branch information
Oleg Nesterov committed Sep 29, 2012
1 parent def7942 commit eae6aba
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 75ed82ea53bd0d2d8083261123576250f7ba851e
refs/heads/master: 78a320542e6cdb2800cd736b2d136e4261d34f43
4 changes: 2 additions & 2 deletions trunk/kernel/events/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ static bool valid_vma(struct vm_area_struct *vma, bool is_register)
if (!is_register)
return true;

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

return false;
Expand Down

0 comments on commit eae6aba

Please sign in to comment.