Why limit yourself to priviledged ports? I'd like to be able to ensure
that noone can bind a port unless I've given them permission to do so
(think firewall hosts).
> Create them dynamically when either (1) the socket is bound, or (2) some
> program (e.g. touch) requests to create them. If created on binding, set
> an "ephemeral" bit somewhere. Any metadata operation (chown, chmod, etc.)
> clears the "ephemeral" bit. When the socket is unbound, delete the file
> if the "ephemeral" bit is set.
Bingo. Extension: some form of toggle which prevents sockets from binding
unless the inode already exists in this conceptual sockfs.
-- Edward S. Marshall <emarshal@logic.net> [ What goes up, must come down. ] http://www.logic.net/~emarshal/ [ Ask any system administrator. ]
- 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/