Linking GPL3 code with IPL? (Was: afs_syscall (Samba as a client of OpenAFS))

Love Hörnquist Åstrand lha at
Tue Oct 7 04:16:04 GMT 2008

6 okt 2008 kl. 12:34 skrev Volker Lendecke:

> On Mon, Oct 06, 2008 at 09:25:04PM +0200, Gémes Géza wrote:
>> Unfortunately this time it seems to be a lot harder, the main change
>> being at least to my understanding, the fact that the openafs kernel
>> module doesn't advertise its services as a system call, and thus we
>> cannot link with just libc code which calls into the kernel, but  
>> need to
>> explicitly use openafs calls for the same propose resulting in a  
>> need to
>> link to their code.
>> Hope is not lost totally yet as I've read about some work of  
>> developing
>> a GPL licensed kernel module, and then we could use some glue code  
>> from
>> there.
> While not having looked at AFS code, it must at the end come
> down to some syscall. Either an ioctl, a write call to some
> code in /proc/whatever, or something else. 99% the coding
> work is just setting up the right structures and make that
> call.

Heimdal includes a wrapper library (libkafs) that provides  uniform  
interface to afs syscalls.


More information about the samba-technical mailing list