Thread (16 messages) flat view 16 messages, 3 authors, 2017-12-18

Re: pkeys: Support setting access rights for signal handlers

From: Florian Weimer <hidden>
Date: 2017-12-18 11:00:35
Also in: linux-arch, linux-mm

On 12/16/2017 06:20 PM, Ram Pai wrote:
Ok. Sounds like I do not have much to do. My patches in its current form
will continue to work and provide the semantics you envision.
Thanks for confirming.
quoted
I'm open to a different way towards conveying this information to
userspace.  I don't want to probe for the behavior by sending a
signal because that is quite involved and would also be visible in
debuggers, confusing programmers.
I am fine with your proposal.
So how can we move this forward?  Should I submit a single new patch 
with the new flag with a more appropriate name (PKEY_ALLOC_SIGNALINHERIT 
comes to my mind) and the signal inheritance change?

Dave, do you still want to wait for feedback from the x86 maintainer 
regarding a general interface?  Is this really feasible without detailed 
knowledge of the XSAVE output structure?  Otherwise, there probably 
isn't a way around code which explicitly copies the bits we want to 
preserve from the interrupted CPU context to the signal handler context.

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help