Re: [PATCH v3 1/4] kbuild: compile-test UAPI headers to ensure they are self-contained

2019-06-29 Thread Masahiro Yamada
On Fri, Jun 28, 2019 at 1:40 AM Masahiro Yamada wrote: > > Multiple people have suggested compile-testing UAPI headers to ensure > they can be really included from user-space. "make headers_check" is > obviously not enough to catch bugs, and we often leak references to > kernel-space definition

Re: [PATCH v3 1/4] kbuild: compile-test UAPI headers to ensure they are self-contained

2019-06-29 Thread Masahiro Yamada
Hi Sam, On Sat, Jun 29, 2019 at 12:44 AM Sam Ravnborg wrote: > > Hi Masahiro. > > On Fri, Jun 28, 2019 at 01:38:59AM +0900, Masahiro Yamada wrote: > > Multiple people have suggested compile-testing UAPI headers to ensure > > they can be really included from user-space. "make headers_check" is >

Re: [PATCH v3 1/4] kbuild: compile-test UAPI headers to ensure they are self-contained

2019-06-28 Thread Sam Ravnborg
Hi Masahiro. On Fri, Jun 28, 2019 at 01:38:59AM +0900, Masahiro Yamada wrote: > Multiple people have suggested compile-testing UAPI headers to ensure > they can be really included from user-space. "make headers_check" is > obviously not enough to catch bugs, and we often leak references to >

[PATCH v3 1/4] kbuild: compile-test UAPI headers to ensure they are self-contained

2019-06-27 Thread Masahiro Yamada
Multiple people have suggested compile-testing UAPI headers to ensure they can be really included from user-space. "make headers_check" is obviously not enough to catch bugs, and we often leak references to kernel-space definition to user-space. Use the new header-test-y syntax to implement it.