[OpenAFS] Re: afs_syscall (Samba as a client of OpenAFS)

Derrick Brashear shadow@gmail.com
Tue, 30 Sep 2008 09:44:03 -0400

On Mon, Sep 29, 2008 at 12:23 PM, G=E9mes G=E9za <geza@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.