|
@@ -2360,8 +2360,10 @@ static inline int on_sig_stack(unsigned long sp)
|
|
|
|
|
|
static inline int sas_ss_flags(unsigned long sp)
|
|
|
{
|
|
|
- return (current->sas_ss_size == 0 ? SS_DISABLE
|
|
|
- : on_sig_stack(sp) ? SS_ONSTACK : 0);
|
|
|
+ if (!current->sas_ss_size)
|
|
|
+ return SS_DISABLE;
|
|
|
+
|
|
|
+ return on_sig_stack(sp) ? SS_ONSTACK : 0;
|
|
|
}
|
|
|
|
|
|
static inline unsigned long sigsp(unsigned long sp, struct ksignal *ksig)
|