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)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 May 2020 15:03:16 +0000 (00:03 +0900)
commit5967577231f9b19acd5a59485e9075964065bbe3
tree0d686c56bdee4a73a8f9883a12d1bbb12472c29b
parent0663c68c4d2d3b74055b4c1cf7d8ae4782774e53
scripts: headers_install: Exit with error on config leak

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>
scripts/headers_install.sh