On Thu, Nov 07, 2019 at 01:17:50PM +0200, Elichai Turkel wrote: > Hi, > I'm working on a library that calls syscalls directly to the kernel. > `make hedears_install` is a great command to auto generate the UAPI > headers that are needed to call the kernel. > > But the headers are still missing a bunch of defines for flags and structs. > > I wanted to know if patches to move more things from `./include/linux` > to `./include/uapi/linux` are welcome (obviously only > typedefs/defines/structs that are required for the syscalls) Yes, fixing this up to make the in-kernel headers clean enough for libc projects to consume them directly is a very good idea and are welcome. Note we have a bunch of ioctl structures that seem to be buried in driver header files, those also need to get exported properly as well. thanks, greg k-h