Re: [PATCH 3/4] signals/sigaltstack: Report current flag bits in sigaltstack()

2016-05-03 Thread Ingo Molnar
* Andy Lutomirski wrote: > sigaltstack()'s reported previous state uses a somewhat odd > convention, but the concept of flag bits is new, and we can do the > flag bits sensibly. Specifically, let's just report them directly. > > This will allow saving and restoring the sigaltstack state using

[PATCH 3/4] signals/sigaltstack: Report current flag bits in sigaltstack()

2016-05-03 Thread Andy Lutomirski
sigaltstack()'s reported previous state uses a somewhat odd convention, but the concept of flag bits is new, and we can do the flag bits sensibly. Specifically, let's just report them directly. This will allow saving and restoring the sigaltstack state using sigaltstack() to work correctly. Sign