Re: [PATCH] arm: mm: Kconfig: Disable KUSER_HELPERS in ARMv6 or later as default

2018-03-06 Thread Russell King - ARM Linux
On Tue, Mar 06, 2018 at 08:22:41PM +0900, Jinbum Park wrote: > Codes for KUSER_HELPERS can be abused as ROP gadaget, > So that It's better to disable that as if possible. > > Since over ARMv6 has ldrex/strex at user-space, > NEED_KUSER_HELPERS is not selected for over ARMv6. > > But, Even though

Re: [PATCH] arm: mm: Kconfig: Disable KUSER_HELPERS in ARMv6 or later as default

2018-03-06 Thread Russell King - ARM Linux
On Tue, Mar 06, 2018 at 08:22:41PM +0900, Jinbum Park wrote: > Codes for KUSER_HELPERS can be abused as ROP gadaget, > So that It's better to disable that as if possible. > > Since over ARMv6 has ldrex/strex at user-space, > NEED_KUSER_HELPERS is not selected for over ARMv6. > > But, Even though

[PATCH] arm: mm: Kconfig: Disable KUSER_HELPERS in ARMv6 or later as default

2018-03-06 Thread Jinbum Park
Codes for KUSER_HELPERS can be abused as ROP gadaget, So that It's better to disable that as if possible. Since over ARMv6 has ldrex/strex at user-space, NEED_KUSER_HELPERS is not selected for over ARMv6. But, Even though NEED_KUSER_HELPERS is not selected, current configuration enable

[PATCH] arm: mm: Kconfig: Disable KUSER_HELPERS in ARMv6 or later as default

2018-03-06 Thread Jinbum Park
Codes for KUSER_HELPERS can be abused as ROP gadaget, So that It's better to disable that as if possible. Since over ARMv6 has ldrex/strex at user-space, NEED_KUSER_HELPERS is not selected for over ARMv6. But, Even though NEED_KUSER_HELPERS is not selected, current configuration enable