Re: [PATCH] ilp32: fix {GET,SET}SIGMASK request for ptrace

From: Yury Norov
Date: Sat Aug 13 2016 - 11:26:58 EST


On Mon, Jun 27, 2016 at 12:49:05PM +0800, zhouchengming wrote:
> The function compat_ptrace_request(used by ilp32) don't handle
> {GET,SET}SIGMASK request, so it will be handled by ptrace_request.
> But it's wrong because the compat_sigset_t of ilp32 differs from
> the sigset_t of aarch64. The patch fixes it.

Hi Zhou, all,

Reviewing your patch I found that we have 2 identical declarations of
put_sigset_t() and get_sigset_t(). So I moved it under
arch/arm64/include/asm/signal32_common.h

I also reworked related code to remove unneeded function and variable
declarations. With all that your patch is looking like below. You can
try latest series here: https://github.com/norov/linux/tree/ilp32-4.8

It's based on v4.8, and addresses some comments. I'm going to meld
this patch with current patchset as it basicly the bugfux and update
submission when I'll finish with all comments.

Yury.