2.2 and FreeBSD

Sean Chittenden sean at chittenden.org
Tue Oct 22 22:32:04 EDT 2002


> Is anybody running imapd-2.2 on FreeBSD 4.6-STABLE or higher?  I'm
> having a confusing problem running master.  It closes FDs 0-2, opens
> them to /dev/null, and then tries to reserver FDs 3 and 4.  No problem
> there normally, but FreeBSD is returning FDs higher then 3 and 4.  7 and
> 8 usually.
> 
> Any clues?

This was done to ensure security.  Doing this prevents a suite of
attacks from setuid programs, iirc.  Check google for more info, but
this was something that was committed in mid to early september,
again, iirc.  -sc

-- 
Sean Chittenden




More information about the Info-cyrus mailing list