Re: [PATCH] ptrace: Fix PTRACE_GETREGSET/PTRACE_SETREGSET in code documentation

2014-05-14 Thread Anshuman Khandual
On 05/13/2014 11:39 PM, Pedro Alves wrote: > On 05/05/14 05:10, Anshuman Khandual wrote: >> On 05/01/2014 07:43 PM, Pedro Alves wrote: >>> On 04/28/2014 12:00 PM, Anshuman Khandual wrote: The current documentation is bit misleading and does not explicitly specify that iov.len need to be i

Re: [PATCH] ptrace: Fix PTRACE_GETREGSET/PTRACE_SETREGSET in code documentation

2014-05-13 Thread Pedro Alves
On 05/05/14 05:10, Anshuman Khandual wrote: > On 05/01/2014 07:43 PM, Pedro Alves wrote: >> On 04/28/2014 12:00 PM, Anshuman Khandual wrote: >>> The current documentation is bit misleading and does not explicitly >>> specify that iov.len need to be initialized failing which kernel >>> may just igno

Re: [PATCH] ptrace: Fix PTRACE_GETREGSET/PTRACE_SETREGSET in code documentation

2014-05-04 Thread Anshuman Khandual
On 05/01/2014 07:43 PM, Pedro Alves wrote: > On 04/28/2014 12:00 PM, Anshuman Khandual wrote: >> The current documentation is bit misleading and does not explicitly >> specify that iov.len need to be initialized failing which kernel >> may just ignore the ptrace request and never read from/write in

Re: [PATCH] ptrace: Fix PTRACE_GETREGSET/PTRACE_SETREGSET in code documentation

2014-05-01 Thread Pedro Alves
On 04/28/2014 12:00 PM, Anshuman Khandual wrote: > The current documentation is bit misleading and does not explicitly > specify that iov.len need to be initialized failing which kernel > may just ignore the ptrace request and never read from/write into > the user specified buffer. This patch fixes

[PATCH] ptrace: Fix PTRACE_GETREGSET/PTRACE_SETREGSET in code documentation

2014-04-28 Thread Anshuman Khandual
The current documentation is bit misleading and does not explicitly specify that iov.len need to be initialized failing which kernel may just ignore the ptrace request and never read from/write into the user specified buffer. This patch fixes the documentation. Signed-off-by: Anshuman Khandual --