Subject: Re: pidentd
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: None <erh@nimenees.com>
List: tech-net
Date: 04/07/2000 23:37:37
On Fri, Apr 07, 2000 at 01:57:35AM -0400, der Mouse wrote:
> It does have its problems, certainly.  sysctl would be better except
> there's no obvious way that I can see to pass the port numbers in so as
> to get the uid back out.
	Why couldn't a sysctl be defined that takes a
struct foo {
	struct sockaddr_in *from;
	struct sockaddr_in *to;
};
	as the newp, a uid_t as the oldp and name being
CTL_NET, PF_INET, IPPROTO_IP, IPCTL_IDENT?

> Perhaps an identdfs mount?  /identd/12345,25 could be a symlink
> pointing to the relevant UID in decimal - then one readlink() call
	well ok, but how about /kern/identd/...?

eric