Re: [PATCHv2] x86/mm: set x32 syscall bit in SET_PERSONALITY()

From: Dmitry Safonov
Date: Tue Mar 21 2017 - 17:14:05 EST


On 03/21/2017 10:24 PM, Cyrill Gorcunov wrote:
On Tue, Mar 21, 2017 at 10:19:01PM +0300, Dmitry Safonov wrote:

indeed, thanks!

Also, even more simple-minded: for now we could just check binary magic
from /proc/.../exe, for now stopping on x32 binaries.

File may not exist and elfheader wiped out as well.

Yep, not very reliable.

--
Dmitry