Re: [PATCH] add a stub by which a module can bind to the AFS syscall

From: Christoph Hellwig (hch@infradead.org)
Date: Wed Apr 30 2003 - 10:37:26 EST


On Wed, Apr 30, 2003 at 04:30:20PM +0100, David Howells wrote:
> The four calls implemented by Linux are:
>
> (*) int setpag(void)
>
> Set Process Authentication Group number. This could easily be moved into
> the kernel proper, with the PAG being stored in or depending from the
> task structure somehow.

So please submit a patch for doing this in the kernel proper.

> (*) int pioctl(const char *path, int cmd, void *arg, int followsymlink)
>
> Al Viro's favourite:-) Do ioctl() on a file refered to by pathname. Can't
> be emulated by open/ioctl/close because:
>
> (a) it can operate directly on symbolic links.
>
> (b) some of its functions don't require a file and don't fail if one
> can't be opened.

You don't expect we merge something that broken? And then as multiplexer
inside a multiplexer? This starts to look worse than sys_ipc()..

>
> (*) int afs_call(...)
>
> Local client control
>
> (*) int afs_icl(...)
>
> Local client status and logging control.

What's ...?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:35 EST