Thread (17 messages) 17 messages, 4 authors, 2022-02-01

Re: consolidate the compat fcntl definitions v2

From: Christophe Leroy <hidden>
Date: 2022-02-01 11:23:31
Also in: linux-arch, linux-arm-kernel, linux-mips, linux-s390, lkml, sparclinux

Hi Christoph,

Le 31/01/2022 à 07:49, Christoph Hellwig a écrit :
Hi all,

currenty the compat fcnt definitions are duplicate for all compat
architectures, and the native fcntl64 definitions aren't even usable
from userspace due to a bogus CONFIG_64BIT ifdef.  This series tries
to sort out all that.
There must be something wrong with this cover letter, patchwork doesn't 
see it, see 
https://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=82

Any idea what the problem is ?

Thanks
Christophe
Changes since v1:
  - only make the F*64 defines uapi visible for 32-bit architectures

Diffstat:
  arch/arm64/include/asm/compat.h        |   20 --------------------
  arch/mips/include/asm/compat.h         |   23 ++---------------------
  arch/mips/include/uapi/asm/fcntl.h     |   30 +++++-------------------------
  arch/parisc/include/asm/compat.h       |   16 ----------------
  arch/powerpc/include/asm/compat.h      |   20 --------------------
  arch/s390/include/asm/compat.h         |   20 --------------------
  arch/sparc/include/asm/compat.h        |   22 +---------------------
  arch/x86/include/asm/compat.h          |   24 +++---------------------
  include/linux/compat.h                 |   31 +++++++++++++++++++++++++++++++
  include/uapi/asm-generic/fcntl.h       |   23 +++++++++--------------
  tools/include/uapi/asm-generic/fcntl.h |   21 +++++++--------------
  11 files changed, 58 insertions(+), 192 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help