Re: [PATCH 18/27] [AARCH64] Add kernel_sigaction.h for AARCH64 ILP32

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/21 15:45, Andreas Schwab wrote: Yury Norov writes: In ILP32, the sigaction struct is the same as AARCH64 Isn't sys_ilp32.c using the compat calls for sigaction? Yes. It is an old patch for v3 of ilp32 patches of kernel which wrote in 2014. We should remove it completely. Reg

Re: [PATCH 18/27] [AARCH64] Add kernel_sigaction.h for AARCH64 ILP32

2016-06-21 Thread Andreas Schwab
Yury Norov writes: > In ILP32, the sigaction struct is the same as AARCH64 Isn't sys_ilp32.c using the compat calls for sigaction? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely d

[PATCH 18/27] [AARCH64] Add kernel_sigaction.h for AARCH64 ILP32

2016-06-20 Thread Yury Norov
From: Andrew Pinski In ILP32, the sigaction struct is the same as AARCH64 so we need the header file kernel_sigaction.h. To allow for this to work, we use a long long fields and then add extra casts when converting between the user exposed struct and the kernel exposed struct. * sysdeps/unix/sy