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

From: Cyrill Gorcunov
Date: Tue Mar 21 2017 - 15:26:57 EST


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.