Subject: Re: pidentd
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: None <erh@nimenees.com>
List: tech-net
Date: 04/07/2000 00:35:23
On Fri, Apr 07, 2000 at 12:16:19AM -0400, der Mouse wrote:
> AF_KERN sockets.
> 
> As in, to invent an API,
	er, you mean reinvent?
Purpose of an AF_KERN socket: pass data into the kernel, have it do
		something, then return the result.
Purpose of a system call: pass data into the kernel, have it do
		something, then return the result.

Of course, using socket/read/write results in 3 system calls instead of 1.
and it's a bit unwieldy.
What's the benefit, other than perhaps being able to use the protocol
arg in socket() to specify a section of the kernel that the request
is going to?

eric