[PATCH 3.16 71/76] x86: reorganize SMAP handling in user space accesses

2018-03-11 Thread Ben Hutchings
3.16.56-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 11f1a4b9755f5dbc3e822a96502ebe9b044b14d8 upstream. This reorganizes how we do the stac/clac instructions in the user access code. Instead

[PATCH 3.16 71/76] x86: reorganize SMAP handling in user space accesses

2018-03-11 Thread Ben Hutchings
3.16.56-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 11f1a4b9755f5dbc3e822a96502ebe9b044b14d8 upstream. This reorganizes how we do the stac/clac instructions in the user access code. Instead of adding the instructions