[lkml]   [2019]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: The UAPI references Kconfig's CONFIG_* macros (variables)
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 behalf of the user?
> * Should there be a `/proc/config.h.gz' facility?

This would not work, since applications don't always run on the systems
they are compiled on, in particular when cross-compiling to another


 \ /
  Last update: 2019-05-15 23:10    [W:0.034 / U:7.792 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site