Re: uprobes misses breakpoint insertion into VM_WRITE mappings

2018-03-22 Thread Mathieu Desnoyers
- On Mar 16, 2018, at 12:52 PM, Oleg Nesterov o...@redhat.com wrote: > On 03/15, Mathieu Desnoyers wrote: >> >> Hi, >> >> Erica has been working on extending test-cases for uprobes, and found >> something unexpected: >> >> Since commit e40cfce626a5 "uprobes: Restrict valid_vma(false) to skip

Re: uprobes misses breakpoint insertion into VM_WRITE mappings

2018-03-22 Thread Mathieu Desnoyers
- On Mar 16, 2018, at 12:52 PM, Oleg Nesterov o...@redhat.com wrote: > On 03/15, Mathieu Desnoyers wrote: >> >> Hi, >> >> Erica has been working on extending test-cases for uprobes, and found >> something unexpected: >> >> Since commit e40cfce626a5 "uprobes: Restrict valid_vma(false) to skip

Re: uprobes misses breakpoint insertion into VM_WRITE mappings

2018-03-16 Thread Oleg Nesterov
On 03/15, Mathieu Desnoyers wrote: > > Hi, > > Erica has been working on extending test-cases for uprobes, and found > something unexpected: > > Since commit e40cfce626a5 "uprobes: Restrict valid_vma(false) to skip > VM_SHARED vmas" > uprobes does not insert breakpoints into mappings mprotect'd

Re: uprobes misses breakpoint insertion into VM_WRITE mappings

2018-03-16 Thread Oleg Nesterov
On 03/15, Mathieu Desnoyers wrote: > > Hi, > > Erica has been working on extending test-cases for uprobes, and found > something unexpected: > > Since commit e40cfce626a5 "uprobes: Restrict valid_vma(false) to skip > VM_SHARED vmas" > uprobes does not insert breakpoints into mappings mprotect'd

uprobes misses breakpoint insertion into VM_WRITE mappings

2018-03-15 Thread Mathieu Desnoyers
Hi, Erica has been working on extending test-cases for uprobes, and found something unexpected: Since commit e40cfce626a5 "uprobes: Restrict valid_vma(false) to skip VM_SHARED vmas" uprobes does not insert breakpoints into mappings mprotect'd as writeable. This issue can be reproduced by

uprobes misses breakpoint insertion into VM_WRITE mappings

2018-03-15 Thread Mathieu Desnoyers
Hi, Erica has been working on extending test-cases for uprobes, and found something unexpected: Since commit e40cfce626a5 "uprobes: Restrict valid_vma(false) to skip VM_SHARED vmas" uprobes does not insert breakpoints into mappings mprotect'd as writeable. This issue can be reproduced by