DragonFly BSD
DragonFly kernel List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: modify kernel to accept listen <1023 not uid=0 ?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 2 Aug 2004 08:47:37 +0200

On Sat, Jul 31, 2004 at 09:27:54AM +0200, rmkml wrote:
> Hi,
> 
> Historicaly,
> 
> BSD not accept listen <1023
> 
> only uid=0 !
> 
> Possible accept change this ?

If you want to implement an optional ACL for ports, which allows delegating
specific ports to a specific group (!), that would be fine for me.

It should be fast enough to not effect normal speed and the representation
of the ACL should not need 64k*4 byte memory. E.g. a two stage directory
similiar to the page table should be fine.

Changes should work by assigning net.inet.portacl.%d the group id and sysctl
should at least listen the !-1 groups (which means no group set).

Joerg

> Regards
> 
> Rmkml@xxxxxxxxxx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]