Re: [PATCH 00/25] objtool: UACCESS validation v4

2019-03-19 Thread Peter Zijlstra
On Mon, Mar 18, 2019 at 06:57:07PM -0500, Josh Poimboeuf wrote: > For the objtool bits: > > Acked-by: Josh Poimboeuf Thanks! I'll go fold the PUSHF/POPF bits into the AC patch then.

Re: [PATCH 00/25] objtool: UACCESS validation v4

2019-03-18 Thread Josh Poimboeuf
On Mon, Mar 18, 2019 at 04:38:40PM +0100, Peter Zijlstra wrote: > Teach objtool to validate the UACCESS (SMAP, PAN) rules which are currently > unenforced and (therefore obviously) violated. > > UACCESS sections should be small; we want to limit the amount of code that can > touch userspace. Furth

[PATCH 00/25] objtool: UACCESS validation v4

2019-03-18 Thread Peter Zijlstra
Teach objtool to validate the UACCESS (SMAP, PAN) rules which are currently unenforced and (therefore obviously) violated. UACCESS sections should be small; we want to limit the amount of code that can touch userspace. Furthermore, UACCESS state isn't scheduled, this means that anything that direc