Hey, the problem is that this structure was in a uapi header until Linux 4.4 but it was replaced by a new header file in this kernel version. I'm not the upstream author of the code so I'm not sure if there is another way to access the functionality used in the software project. Of course you are right that it is a good idea to look for another kernel interface instead of copy the necessary structure to an own header file...
Anyway, it would be interesting for me if this usage of pieces of a kernel header file is possible in GPL-3 project? Best regards, Jan Am 05.10.2016 um 23:56 schrieb Florian Weimer: > * Jan Luca Naumann: > >> Hey, >> >> the project I want to package is "sedutil": >> https://github.com/Drive-Trust-Alliance/sedutil >> >> The concrete problem/possible solution are described in my attempt to >> fix it: >> https://github.com/Drive-Trust-Alliance/sedutil/pull/56/commits/5ca6100917a025f6e11ae20838e1e37e7db2d587 > > This can't be right. If the struct isn't in a uapi header, you aren't > supposed to touch it, I think. Is this really part of the userspace > ABI? > > First and foremost, this isn't a licensing problem. It's about > reasonable software interface design with long-term maintainability in > mind. >
signature.asc
Description: OpenPGP digital signature