Problem with new uapi header in Linux kernel 4.4+

Christoph Hellwig hch at infradead.org
Fri Oct 7 00:29:23 PDT 2016


On Thu, Oct 06, 2016 at 07:09:48PM -0400, Keith Busch wrote:
> Yeah, we changed the uapi to only contain the what's necessary for the
> user-kernel interface. We don't want user space to depend on the kernel
> header for structure definitions when the kernel has no use for some them.
> 
> For the nvme-cli project, we define everything. I'm up for turning parts
> of this into a shared library that sedutil and others can use.

FYI, one issue is the the Linux nvme.h is GPLv2 only like much of the
kernel, making it hard to use for things like sedutils that use GPLv3+.
I'd be fine with relicing my contributions to it under GPLv2+, but I
don't sign up for contacting everyone that ever touched it and get
their permission..



More information about the Linux-nvme mailing list