Re: [Devel] [PATCH RH7] ms/x86/signal: Remove bogus user_64bit_mode() check from sigaction_compat_abi()

2016-11-23 Thread Dmitry Safonov
On 10/27/2016 06:00 PM, Andrey Ryabinin wrote: On 10/26/2016 07:15 PM, Dmitry Safonov wrote: The recent introduction of SA_X32/IA32 sa_flags added a check for user_64bit_mode() into sigaction_compat_abi(). user_64bit_mode() is true for native 64-bit processes and x32 processes. Due to that the

Re: [Devel] [PATCH RH7] ms/x86/signal: Remove bogus user_64bit_mode() check from sigaction_compat_abi()

2016-10-27 Thread Andrey Ryabinin
On 10/26/2016 07:15 PM, Dmitry Safonov wrote: > The recent introduction of SA_X32/IA32 sa_flags added a check for > user_64bit_mode() into sigaction_compat_abi(). user_64bit_mode() is true > for native 64-bit processes and x32 processes. > > Due to that the function returns w/o setting the SA_X32_

[Devel] [PATCH RH7] ms/x86/signal: Remove bogus user_64bit_mode() check from sigaction_compat_abi()

2016-10-26 Thread Dmitry Safonov
The recent introduction of SA_X32/IA32 sa_flags added a check for user_64bit_mode() into sigaction_compat_abi(). user_64bit_mode() is true for native 64-bit processes and x32 processes. Due to that the function returns w/o setting the SA_X32_ABI flag for X32 processes. In consequence the kernel at