Re: The UAPI references Kconfig's CONFIG_* macros (variables)

2019-05-15 Thread Arnd Bergmann
On Sat, May 11, 2019 at 6:29 AM Michael Witten wrote: > > What is the correct way to think about this? > > * Should the UAPI make no reference to build-time configurations? Right, with the exception of uses inside of #ifdef __KERNEL__. > * Should the UAPI headers include sanity checks on be

Re: The UAPI references Kconfig's CONFIG_* macros (variables)

2019-05-11 Thread Masahiro Yamada
On Sat, May 11, 2019 at 1:28 PM Michael Witten wrote: > > The UAPI headers contain references to Kconfig's `CONFIG_' > macros. Either this is a bug, or there needs to be some standard > way for users to provide definitions for these macros, in order > to complete Linux's user-space API.