[Bug libc/22396] x86-64: siglongjmp does not restore PKRU register

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Wed Nov 8 06:10:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=22396

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
I think HJ is freeing unused parts of jmpbuf, which we could use to store these
bits.  Of course, it won't help if x86-64 gets many more access right bits.

So I think we need to change the kernel not to reset PKRU to the initial value
(which could either be all-access or no-access, depending on kernel
configuration).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list