diff options
| -rw-r--r-- | kernel/events/uprobes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index d1edc5e6fd03..7716c40f2c50 100644 --- a/kernel/events/uprobes.c +++ b/kernel/events/uprobes.c | |||
| @@ -127,7 +127,7 @@ struct xol_area { | |||
| 127 | */ | 127 | */ |
| 128 | static bool valid_vma(struct vm_area_struct *vma, bool is_register) | 128 | static bool valid_vma(struct vm_area_struct *vma, bool is_register) |
| 129 | { | 129 | { |
| 130 | vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_SHARED; | 130 | vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; |
| 131 | 131 | ||
| 132 | if (is_register) | 132 | if (is_register) |
| 133 | flags |= VM_WRITE; | 133 | flags |= VM_WRITE; |
