kbuild: detect missing "WITH Linux-syscall-note" for uapi headers
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 25 Jul 2019 08:05:13 +0000 (17:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 29 Jul 2019 01:05:41 +0000 (10:05 +0900)
commit622445541b751ce70a952b8486ce4512a792c0a2
treea950578c6f212af0edb8f8d365a517b6c653821c
parent609488bc979f99f805f34e9a32c1e3b71179d10b
kbuild: detect missing "WITH Linux-syscall-note" for uapi headers

UAPI headers licensed under GPL are supposed to have exception
"WITH Linux-syscall-note" so that they can be included into non-GPL
user space application code.

Unfortunately, people often miss to add it. Break 'make headers'
when any of exported headers lacks the exception note so that the
0-day bot can easily catch it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/headers_install.sh