> I was digging through the code planning to add privs such that:
>
> - you could restrict a port to a specific uid (i.e. tcp 113 can be opened
> by news and root only)
>
> - you could restrict the range used to generate the "random" port of a
> listening socket with unspecified port (i.e. > 1023, not in 6000..6099)
>
> Does POSIX.6 define this sort of thing too? Any sample source out there?
There is a very-much-alive linux-privs project that is implementing
POSIX.6 & etc. - you may want to see what they have before you try doing
anything.
-- Elliot http://www.redhat.com/
How do you explain school to a higher intelligence?
-- Elliot, "E.T."