lkml.org 
[lkml]   [1999]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: UUIDs (and devfs and major/minor numbers)
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.043 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site