On Fri, 27 May 2016, Greg KH wrote: > On Fri, May 27, 2016 at 12:08:09PM -0400, Robert P. J. Day wrote: > > > > continuing down this road of exporting kernel headers, under > > include/uapi/ (and mostly further under linux/), there's still a *ton* > > of testing of the __KERNEL__ preprocessor check. > > > > now, i realize that when one does "make headers_install", all those > > files are run through "unifdef" to sanitize almost all of that kernel > > content, so it's not like it hurts, but is there any reason so much of > > it is still there? wouldn't it be tidier to get rid of it? > > No, because not all of the information in those .h files should be > exported to userspace. You could either split the files all up into > two different ones, or just live with the existing infrastructure we > have. We chose the easy one :) ok, i think i see *part* of my misunderstanding so let me back up a bit ... are any of the header files *directly* under include/linux processed for exporting? because there is no file include/linux/Kbuild, which i assume needs to exist for that to happen. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies