> @@ -836,14 +830,19 @@ int handle_rt_signal32(struct ksignal *ksig, sigset_t 
> *oldset,
>               asm("dcbst %y0; sync; icbi %y0; sync" :: "Z" (mctx->mc_pad[0]));
>       }
>       unsafe_put_sigset_t(&frame->uc.uc_sigmask, oldset, failed);
> +#ifndef CONFIG_COMPAT
> +     unsafe_copy_siginfo_to_user(&frame->info, &ksig->info, failed);
> +#endif
>  
>       /* create a stack frame for the caller of the handler */
>       unsafe_put_user(regs->gpr[1], newsp, failed);
>  
>       user_access_end();
>  
> -     if (copy_siginfo_to_user(&frame->info, &ksig->info))
> +#ifdef CONFIG_COMPAT
> +     if (copy_siginfo_to_user32(&frame->info, &ksig->info))
>               goto badframe;
> +#endif

Shouldn't the compat case be handled the same way?

Reply via email to