Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-06 Thread Andy Lutomirski
On Sun, Mar 6, 2016 at 12:17 PM, Stas Sergeev wrote: > 06.03.2016 23:10, Andy Lutomirski пишет: > >> On Sun, Mar 6, 2016 at 12:07 PM, Andy Lutomirski >> wrote: >>> >>> On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: This patch implements the SS_AUTODISARM flag that can be ORed wit

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-06 Thread Stas Sergeev
06.03.2016 23:10, Andy Lutomirski пишет: On Sun, Mar 6, 2016 at 12:07 PM, Andy Lutomirski wrote: On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: This patch implements the SS_AUTODISARM flag that can be ORed with SS_ONSTACK when forming ss_flags. When this flag is set, sigaltstack will be

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-06 Thread Andy Lutomirski
On Sun, Mar 6, 2016 at 12:07 PM, Andy Lutomirski wrote: > On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: >> This patch implements the SS_AUTODISARM flag that can be ORed with >> SS_ONSTACK when forming ss_flags. >> When this flag is set, sigaltstack will be disabled when entering >> the sig

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-06 Thread Andy Lutomirski
On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: > This patch implements the SS_AUTODISARM flag that can be ORed with > SS_ONSTACK when forming ss_flags. > When this flag is set, sigaltstack will be disabled when entering > the signal handler; more precisely, after saving sas to uc_stack. > Wh

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-04 Thread Stas Sergeev
05.03.2016 10:39, Stas Sergeev пишет: 05.03.2016 01:22, Andy Lutomirski пишет: On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: This patch implements the SS_AUTODISARM flag that can be ORed with SS_ONSTACK when forming ss_flags. When this flag is set, sigaltstack will be disabled when ente

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-04 Thread Stas Sergeev
05.03.2016 01:22, Andy Lutomirski пишет: On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: This patch implements the SS_AUTODISARM flag that can be ORed with SS_ONSTACK when forming ss_flags. When this flag is set, sigaltstack will be disabled when entering the signal handler; more precisely

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-03-04 Thread Andy Lutomirski
On Mon, Feb 29, 2016 at 1:29 PM, Stas Sergeev wrote: > This patch implements the SS_AUTODISARM flag that can be ORed with > SS_ONSTACK when forming ss_flags. > When this flag is set, sigaltstack will be disabled when entering > the signal handler; more precisely, after saving sas to uc_stack. > Wh

Re: [PATCH 1/2] sigaltstack: implement SS_AUTODISARM flag

2016-02-28 Thread Stas Sergeev
29.02.2016 00:13, Stas Sergeev пишет: This patch implements the SS_AUTODISARM flag that can be ORed with SS_ONSTACK when forming ss_flags. When this flag is set, sigaltstack will be disabled when entering the signal handler; more precisely, after saving sas to uc_stack. When leaving the signal ha