All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scripts: headers_install.sh: Update config leak ignore entries
@ 2022-07-18  6:14 Nicolas Schier
  2022-07-19 15:36 ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Schier @ 2022-07-18  6:14 UTC (permalink / raw)
  To: Masahiro Yamada, Michal Marek, Nick Desaulniers, linux-kbuild
  Cc: Nicolas Schier

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scripts: headers_install.sh: Update config leak ignore entries
  2022-07-18  6:14 [PATCH] scripts: headers_install.sh: Update config leak ignore entries Nicolas Schier
@ 2022-07-19 15:36 ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2022-07-19 15:36 UTC (permalink / raw)
  To: Nicolas Schier; +Cc: Michal Marek, Nick Desaulniers, Linux Kbuild mailing list

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
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-19 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18  6:14 [PATCH] scripts: headers_install.sh: Update config leak ignore entries Nicolas Schier
2022-07-19 15:36 ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.