Re: [PATCH 2/2] Make CONTEXT available to signal handlers

2015-03-30 Thread Corinna Vinschen
On Mar 30 18:32, Jon TURNEY wrote: > +typedef struct ucontext { > + mcontext_t uc_mcontext; > +} ucontext_t; I liked that better as before. Keep in mind that changing, improving user-space provided structures practically always requires to add code to account for old and for newly built

[PATCH 2/2] Make CONTEXT available to signal handlers

2015-03-30 Thread Jon TURNEY
Add ucontext.h header, defining ucontext_t and mcontext_t types. Provide sigaction sighandlers with a ucontext_t parameter containing a mcontext_t with exception context information, if available. * include/sys/ucontext.h : New header. * include/ucontext.h : Ditto. * excep