]> www.infradead.org Git - users/dwmw2/linux.git/commit
scripts: headers_install: Exit with error on config leak
authorSiddharth Gupta <sidgup@codeaurora.org>
Wed, 6 May 2020 01:52:37 +0000 (18:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:55 +0000 (17:48 +0200)
commit672ae3d2185030db181b2557fe8d21d5e470ad9f
treea116b13bf05d1f0010b34a5f8579e8772f02201a
parente3c5b8a18980e40e63fc543522bc713d59237e3d
scripts: headers_install: Exit with error on config leak

[ Upstream commit 5967577231f9b19acd5a59485e9075964065bbe3 ]

Misuse of CONFIG_* in UAPI headers should result in an error. These config
options can be set in userspace by the user application which includes
these headers to control the APIs and structures being used in a kernel
which supports multiple targets.

Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/headers_install.sh