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:50:33 +0000 (17:50 +0200)
commit4c8a62c939840b2ad41ac6c6aadc44535761f9e4
tree4f3970bd991f9493c5fa6fedf3ee1aeed1c1356b
parentc707e18796c6a001c44254f7087e7ad9f39086d5
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