Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-13 Thread Michael Kerrisk (man-pages)
Hi Andi, On 10 January 2015 at 19:39, Andi Kleen wrote: > On Sat, Jan 10, 2015 at 02:49:07PM +0100, Michael Kerrisk (man-pages) wrote: >> On 01/09/2015 07:34 PM, Dave Hansen wrote: >> > On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: >> >> On 9 January 2015 at 18:25, Andi Kleen wrote:

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-10 Thread Andi Kleen
On Sat, Jan 10, 2015 at 02:49:07PM +0100, Michael Kerrisk (man-pages) wrote: > On 01/09/2015 07:34 PM, Dave Hansen wrote: > > On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: > >> On 9 January 2015 at 18:25, Andi Kleen wrote: > >>> "Michael Kerrisk (man-pages)" writes: > From: Mich

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-10 Thread Michael Kerrisk (man-pages)
On 01/09/2015 07:34 PM, Dave Hansen wrote: > On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: >> On 9 January 2015 at 18:25, Andi Kleen wrote: >>> "Michael Kerrisk (man-pages)" writes: From: Michael Kerrisk commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7 added two new pr

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-09 Thread Dave Hansen
On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: > On 9 January 2015 at 18:25, Andi Kleen wrote: >> "Michael Kerrisk (man-pages)" writes: >>> From: Michael Kerrisk >>> >>> commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7 added two new prctl() >>> operations, PR_MPX_ENABLE_MANAGEMENT and

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-09 Thread Michael Kerrisk (man-pages)
On 9 January 2015 at 18:25, Andi Kleen wrote: > "Michael Kerrisk (man-pages)" writes: > >> From: Michael Kerrisk >> >> commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7 added two new prctl() >> operations, PR_MPX_ENABLE_MANAGEMENT and PR_MPX_DISABLE_MANAGEMENT. >> However, no checks were included

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-09 Thread Andi Kleen
"Michael Kerrisk (man-pages)" writes: > From: Michael Kerrisk > > commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7 added two new prctl() > operations, PR_MPX_ENABLE_MANAGEMENT and PR_MPX_DISABLE_MANAGEMENT. > However, no checks were included to ensure that unused arguments > are zero, as is done

[PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-08 Thread Michael Kerrisk (man-pages)
From: Michael Kerrisk commit fe8c7f5cbf91124987106faa3bdf0c8b955c4cf7 added two new prctl() operations, PR_MPX_ENABLE_MANAGEMENT and PR_MPX_DISABLE_MANAGEMENT. However, no checks were included to ensure that unused arguments are zero, as is done in many existing prctl()s and as should be done fo