Re: [PATCH 1/2] sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT

2017-02-06 Thread Andrew Morton
On Mon, 6 Feb 2017 12:30:38 +0300 Stas Sergeev wrote: > 05.02.2017 21:31, Andy Lutomirski __: > > On Sun, Feb 5, 2017 at 2:12 AM, Stas Sergeev wrote: > >> Currently SS_AUTODISARM is not supported in compatibility > >> mode, but does not return -EINVAL either. This makes dosemu > >> built

Re: [PATCH 1/2] sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT

2017-02-06 Thread Stas Sergeev
05.02.2017 21:31, Andy Lutomirski пишет: On Sun, Feb 5, 2017 at 2:12 AM, Stas Sergeev wrote: Currently SS_AUTODISARM is not supported in compatibility mode, but does not return -EINVAL either. This makes dosemu built with -m32 on x86_64 to crash. Also the kernel's sigaltstack selftest fails if

Re: [PATCH 1/2] sigaltstack: support SS_AUTODISARM for CONFIG_COMPAT

2017-02-05 Thread Andy Lutomirski
On Sun, Feb 5, 2017 at 2:12 AM, Stas Sergeev wrote: > Currently SS_AUTODISARM is not supported in compatibility > mode, but does not return -EINVAL either. This makes dosemu > built with -m32 on x86_64 to crash. Also the kernel's sigaltstack > selftest fails if compiled with -m32. > > This patch a