lkml.org 
[lkml]   [1999]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectsockfs (was: UUIDs (and devfs and major/minor numbers))
Date
>>>>> "Richard" == Richard Gooch <rgooch@atnf.csiro.au> writes:
> Someone wrote a sockfs a long time ago. I don't recall what happened to it.

People said

"it can be done at user level"

By the same reasoning, ACLs can be done at user-level.

"capabilities already allow you to run named non-root"

but don't allow to say specifically which port they can bind to.

"...."

and too many programs like named assume they run as root (e.g. mountd)
so that they don't work as non-root even if they can open their socket.
Without sockfs, those program won't be fixed and without those programs fixed,
sockfs will never spread.

I do admit that there is a vaguely reasonable alternative at user-level: extend
inetd to also be able to start services like sendmail, named, innd, mountd, ..
The way this would work would be along the same lines as `sendmail_start' and
`inn_start': inetd binds to the port, forks and passes the file descriptor as
an argument (it would probably have to exec sendmail and such eagerly rather
than lazily).
I've never gotten around to adding that feature to inetd, though.
If anyone's interested... this is not linux-kernel ground any more.


Stefan

-
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.251 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site