Re: UUIDs (and devfs and major/minor numbers)

Dan Hollis (goemon@sasami.anime.net)
Thu, 17 Jun 1999 18:40:42 -0700 (PDT)


On Thu, 17 Jun 1999, Edward S. Marshall wrote:
> On Thu, 17 Jun 1999, Dan Hollis wrote:
> > I cant be the only one who would like to do something like:
> > # chown named /proc/sys/net/permissions/udp/53
> > # chown named /proc/sys/net/permissions/tdp/53
> > And then run named non-root.
> Ye ghods, yes. What do you get when you readdir()
> /proc/sys/net/permissions/udp? All currently bound sockets? 65k files?
> (The former would obviously be preferred...)

I was thinking of just 1023 files in each. You know, the "privileged"
ports.

Otherwise it would be hard to set permissions on a privileged port before
a program actually opened it 8)

> I have to admit, I think this (conceptually) fits better in the realm of
> devfs. /proc just seems wrong for anything like this, but maybe it's my
> distaste of /proc being polluted for configuration controls showing.

Well see, we have people who dont want procfs *or* devfs. Their solution
would probably be to pollute /dev with a whole new group of maj/min
devices just to hold socket permissions.

-Dan

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