Re: [PATCH V4 03/17] asm-generic: compat: Cleanup duplicate definitions

2022-01-31 Thread Guo Ren
On Mon, Jan 31, 2022 at 8:21 PM Christoph Hellwig wrote: > > On Sat, Jan 29, 2022 at 08:17:14PM +0800, guo...@kernel.org wrote: > > From: Guo Ren > > > > There are 7 64bit architectures that support Linux COMPAT mode to > > run 32bit applications. A lot of definitions are duplicate: > > - COMPAT

Re: [PATCH V4 03/17] asm-generic: compat: Cleanup duplicate definitions

2022-01-31 Thread Christoph Hellwig
On Sat, Jan 29, 2022 at 08:17:14PM +0800, guo...@kernel.org wrote: > From: Guo Ren > > There are 7 64bit architectures that support Linux COMPAT mode to > run 32bit applications. A lot of definitions are duplicate: > - COMPAT_USER_HZ > - COMPAT_RLIM_INFINITY > - COMPAT_OFF_T_MAX > - __compat_

Re: [PATCH V4 03/17] asm-generic: compat: Cleanup duplicate definitions

2022-01-29 Thread Arnd Bergmann
On Sat, Jan 29, 2022 at 1:17 PM wrote: > > From: Guo Ren > > There are 7 64bit architectures that support Linux COMPAT mode to > run 32bit applications. A lot of definitions are duplicate: > - COMPAT_USER_HZ > - COMPAT_RLIM_INFINITY > - COMPAT_OFF_T_MAX > - __compat_uid_t, __compat_uid_t > -

[PATCH V4 03/17] asm-generic: compat: Cleanup duplicate definitions

2022-01-29 Thread guoren
From: Guo Ren There are 7 64bit architectures that support Linux COMPAT mode to run 32bit applications. A lot of definitions are duplicate: - COMPAT_USER_HZ - COMPAT_RLIM_INFINITY - COMPAT_OFF_T_MAX - __compat_uid_t, __compat_uid_t - compat_dev_t - compat_ipc_pid_t - struct compat_flock -