diff mbox series

scripts: headers_install.sh: Update config leak ignore entries

Message ID 20220718061413.4643-1-nicolas@fjasle.eu (mailing list archive)
State New
Headers show
Series scripts: headers_install.sh: Update config leak ignore entries | expand

Commit Message

Nicolas Schier July 18, 2022, 6:14 a.m. UTC
Remove two dated config leak ignore entries from scripts/headers_install.sh:
arch/alpha/include/uapi/asm/setup.h does no more leak any CONFIG_* symbol to
user-space any more since commit 3cb8b1537f8a ("alpha: Move setup.h out of
uapi", 2021-09-14).
Same holds for include/uapi/asm-generic/fcntl.h since commit 306f7cc1e906
("uapi: always define F_GETLK64/F_SETLK64/F_SETLKW64 in fcntl.h", 2022-04-05).

Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>
---
 scripts/headers_install.sh | 2 --
 1 file changed, 2 deletions(-)

Comments

Masahiro Yamada July 19, 2022, 3:36 p.m. UTC | #1
On Mon, Jul 18, 2022 at 3:15 PM Nicolas Schier <nicolas@fjasle.eu> wrote:
>
> Remove two dated config leak ignore entries from scripts/headers_install.sh:
> arch/alpha/include/uapi/asm/setup.h does no more leak any CONFIG_* symbol to
> user-space any more since commit 3cb8b1537f8a ("alpha: Move setup.h out of
> uapi", 2021-09-14).
> Same holds for include/uapi/asm-generic/fcntl.h since commit 306f7cc1e906
> ("uapi: always define F_GETLK64/F_SETLK64/F_SETLKW64 in fcntl.h", 2022-04-05).
>
> Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>

Applied to linux-kbuild.
Thanks.



> ---
>  scripts/headers_install.sh | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/scripts/headers_install.sh b/scripts/headers_install.sh
> index dd554bd436cc..4041881746ad 100755
> --- a/scripts/headers_install.sh
> +++ b/scripts/headers_install.sh
> @@ -70,7 +70,6 @@ configs=$(sed -e '
>  #
>  # The format is <file-name>:<CONFIG-option> in each line.
>  config_leak_ignores="
> -arch/alpha/include/uapi/asm/setup.h:CONFIG_ALPHA_LEGACY_START_ADDRESS
>  arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_16K
>  arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_4K
>  arch/arc/include/uapi/asm/swab.h:CONFIG_ARC_HAS_SWAPE
> @@ -84,7 +83,6 @@ arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_SUPPORT
>  arch/x86/include/uapi/asm/auxvec.h:CONFIG_IA32_EMULATION
>  arch/x86/include/uapi/asm/auxvec.h:CONFIG_X86_64
>  arch/x86/include/uapi/asm/mman.h:CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
> -include/uapi/asm-generic/fcntl.h:CONFIG_64BIT
>  include/uapi/linux/atmdev.h:CONFIG_COMPAT
>  include/uapi/linux/eventpoll.h:CONFIG_PM_SLEEP
>  include/uapi/linux/hw_breakpoint.h:CONFIG_HAVE_MIXED_BREAKPOINTS_REGS
> --
> 2.36.1
>
diff mbox series

Patch

diff --git a/scripts/headers_install.sh b/scripts/headers_install.sh
index dd554bd436cc..4041881746ad 100755
--- a/scripts/headers_install.sh
+++ b/scripts/headers_install.sh
@@ -70,7 +70,6 @@  configs=$(sed -e '
 #
 # The format is <file-name>:<CONFIG-option> in each line.
 config_leak_ignores="
-arch/alpha/include/uapi/asm/setup.h:CONFIG_ALPHA_LEGACY_START_ADDRESS
 arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_16K
 arch/arc/include/uapi/asm/page.h:CONFIG_ARC_PAGE_SIZE_4K
 arch/arc/include/uapi/asm/swab.h:CONFIG_ARC_HAS_SWAPE
@@ -84,7 +83,6 @@  arch/nios2/include/uapi/asm/swab.h:CONFIG_NIOS2_CI_SWAB_SUPPORT
 arch/x86/include/uapi/asm/auxvec.h:CONFIG_IA32_EMULATION
 arch/x86/include/uapi/asm/auxvec.h:CONFIG_X86_64
 arch/x86/include/uapi/asm/mman.h:CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
-include/uapi/asm-generic/fcntl.h:CONFIG_64BIT
 include/uapi/linux/atmdev.h:CONFIG_COMPAT
 include/uapi/linux/eventpoll.h:CONFIG_PM_SLEEP
 include/uapi/linux/hw_breakpoint.h:CONFIG_HAVE_MIXED_BREAKPOINTS_REGS