[OpenAFS] Re: afs_syscall (Samba as a client of OpenAFS)
shadow at gmail.com
Tue Sep 30 13:44:03 GMT 2008
On Mon, Sep 29, 2008 at 12:23 PM, Gémes Géza <geza at kzsdabas.hu> wrote:
> Unfortunately I need to solve this in a way or other.
> What I've seen looking at the openafs source code (1.4.7) is that while
> there are many comments about afs_syscall through the source there
> doesn't seem to be any use of it. Looking at the openafs 1.4.7 changelog
> the only mention of afs_syscall dates from 2001-02-12 17:15 which
> predates fake-kaserver.
We use an ioctl on proc to replace the system call. Look in
src/sys/afssyscalls.c iirc, for proc_afs_syscall.
If you call our syscall stub from libsys it just works. If you have
your own, you get to fix it.
More information about the samba-technical