summaryrefslogtreecommitdiff
path: root/kernel/events/uprobes.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-05-05 08:59:47 (GMT)
committerIngo Molnar <mingo@kernel.org>2014-05-05 08:59:47 (GMT)
commit8e02ae573e6ae86930d08662790827a938203e70 (patch)
treeef87732e10e1c4162c45774274da07b32bee32ef /kernel/events/uprobes.c
parent3617660e4e1618a888a2e3a4067224534302cb33 (diff)
parent13f59c5e45be59665c11ddde19799b6295543b7d (diff)
downloadlinux-8e02ae573e6ae86930d08662790827a938203e70.tar.xz
Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/uprobes
Pull uprobes updates from Oleg Nesterov: "This hopefully completes the previous 'fix the handling of relative jmp/call's' series, all changes except the last 3 unrelated fixes try to address TODO's mentioned in the changelogs." Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events/uprobes.c')
-rw-r--r--kernel/events/uprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c
index d1edc5e..7716c40 100644
--- a/kernel/events/uprobes.c
+++ b/kernel/events/uprobes.c
@@ -127,7 +127,7 @@ struct xol_area {
*/
static bool valid_vma(struct vm_area_struct *vma, bool is_register)
{
- vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_SHARED;
+ vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE;
if (is_register)
flags |= VM_WRITE;