Can vm_mmap()/vm_map_remove() be called with giant held? (linuxolator dvb patches)

Juergen Lock nox at jelal.kn-bremen.de
Tue Feb 22 11:40:25 UTC 2011


On Tue, Feb 22, 2011 at 09:26:41AM +0100, Alexander Leidinger wrote:
> Quoting Juergen Lock <nox at jelal.kn-bremen.de> (from Mon, 21 Feb 2011  
> 19:36:11 +0100):
> 
> >  And here comes the patch for head:
> 
> linux_dvb.h is still GPLed (not taking into account that there are  
> voices which tell that interface descriptions are not copyrightable or  
> something like this). As already told this is a no-go, the linuxulator  
> is BSD licensed.

Right I should have mentioned your concerns.  (I said it wouldn't
really matter since the linuxolator already is a kld and the header
file from which I took the definitions is LGPL'd not GPL'd [1], to
which I didn't see an answer.)

 Cheers,
	Juergen

[1] probably just for this reason.  I prefer the BSDL too but if we
bug the Linux guys about this I fear we'd only come across as
nitpickers or people that `can't get enough'... :/

--- Oooh and now I also just saw this in the LGPL: [2]

[...]
3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:

    a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
    b) Accompany the object code with a copy of the GNU GPL and this license document.
[...]

 ...so it seems the LGPL in linux_dvb.h wouldn't even apply to the
rest of the linuxolator or any other of our code anyway since `the
incorporated material [the header] in fact _is_ limited to numerical
parameters, data structure layouts and accessors, or small macros,
inline functions and templates (ten or fewer lines in length)'.

[2] http://www.gnu.org/copyleft/lesser.html


More information about the freebsd-hackers mailing list