[PATCH v3 0/5] uapi: fix remaining kconfig leaks in UAPI headers

Thomas Weißschuh <[email protected]>
Newsgroups org.infradead.lists.linux-snps-arc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <20260114-headers_install-config-leak-v3-0-c14cde735a79@linutronix.de>
A few UAPI headers still contained references to kconfig symbols.
Clean them all up and afterwards remove the now useless exception
machinery in headers_install.sh.

Intended to be routed through the kbuild tree.

Signed-off-by: Thomas Weißschuh <[email protected]>
---
Changes in v3:
- Replace ARCH_USE_BUILTIN_BSWAP with manual 'swape' inline asm.
- Link to v2: https://lore.kernel.org/r/20260112-headers_install-config-leak-v2-0-4d8084444603@linutronix.de

Changes in v2:
- Drop ARC_HAS_SWAPE kconfig option, use ARCH_USE_BUILTIN_BSWAP
- Drop PSR_ENDSTATE from the ARM ptrace.h header.
- Drop nios2 uapi asm/swab.h.
- Link to v1: https://lore.kernel.org/r/20251230-headers_install-config-leak-v1-0-efba5c58073d@linutronix.de

---
Thomas Weißschuh (5):
      ARC: Always use SWAPE instructions for __arch_swab32()
      ARM: uapi: Drop PSR_ENDSTATE
      nios2: uapi: Remove custom asm/swab.h from UAPI
      x86/uapi: Stop leaking kconfig references to userspace
      scripts: headers_install.sh: Remove config leak ignore machinery

 arch/arc/Kconfig                         |  5 ---
 arch/arc/Makefile                        |  3 +-
 arch/arc/include/uapi/asm/swab.h         | 63 --------------------------------
 arch/arm/include/asm/processor.h         |  3 +-
 arch/arm/include/uapi/asm/ptrace.h       |  9 -----
 arch/arm/kernel/signal.c                 |  3 +-
 arch/nios2/include/{uapi => }/asm/swab.h |  0
 arch/x86/include/uapi/asm/auxvec.h       |  2 +-
 scripts/headers_install.sh               | 30 +--------------
 9 files changed, 8 insertions(+), 110 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251229-headers_install-config-leak-b8a9219d8b3c

Best regards,
-- 
Thomas Weißschuh <[email protected]>


_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.