Re: [PATCH 09/21] ARC: Linux ABI

2018-12-21 Thread Vineet Gupta
On 12/19/18 12:36 PM, Joseph Myers wrote: > On Wed, 19 Dec 2018, Vineet Gupta wrote: > >> So perhaps we keep the ARC header above, with matching layout, while >> switching to generic sigaction() still. OK ? > > If the different userspace layout is better, it should be better for all > future po

Re: [PATCH 09/21] ARC: Linux ABI

2018-12-19 Thread Joseph Myers
On Wed, 19 Dec 2018, Vineet Gupta wrote: > So perhaps we keep the ARC header above, with matching layout, while > switching to generic sigaction() still. OK ? If the different userspace layout is better, it should be better for all future ports as well. Duplicating all the SA_* constants in ar

Re: [PATCH 09/21] ARC: Linux ABI

2018-12-19 Thread Vineet Gupta
On 12/18/18 3:38 PM, Joseph Myers wrote: > On Tue, 18 Dec 2018, Vineet Gupta wrote: > >> +typedef unsigned short int __pr_uid_t; >> +typedef unsigned short int __pr_gid_t; > > Are you sure? No I'm not :-) There were some interim sweeping changes in this area since when I started so this might

Re: [PATCH 09/21] ARC: Linux ABI

2018-12-18 Thread Joseph Myers
On Tue, 18 Dec 2018, Vineet Gupta wrote: > +typedef unsigned short int __pr_uid_t; > +typedef unsigned short int __pr_gid_t; Are you sure? I don't see an ARC-specific definition of __kernel_uid_t or __kernel_gid_t in the Linux kernel at all (which would mean unsigned int is actually used and y

[PATCH 09/21] ARC: Linux ABI

2018-12-18 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- ChangeLog | 15 + sysdeps/arc/nptl/pthread-offsets.h| 5 ++ sysdeps/arc/nptl/pthreaddef.h | 32 + sysdeps/unix/sysv/linux/arc/bits/procfs-id.h | 25 +++ sysdeps/unix/sysv/linux/arc/bi