This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22396] x86-64: siglongjmp does not restore PKRU register
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 08 Nov 2017 06:10:27 +0000
- Subject: [Bug libc/22396] x86-64: siglongjmp does not restore PKRU register
- Auto-submitted: auto-generated
- References: <bug-22396-131@http.sourceware.org/bugzilla/>
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.