[Dovecot] Dovecot on Linux 2.6.0-test1-ac1

Grahame Bowland grahame at ucs.uwa.edu.au
Wed Jul 16 15:49:13 EEST 2003


On Wed, 2003-07-16 at 14:35, Timo Sirainen wrote:
> On Wed, 2003-07-16 at 08:56, Grahame Bowland wrote:
> > I can imagine why setuid() should ever fail, I've confirmed that the
> > daemon is running as UID zero at the time it makes the call. However,
> > the call succeeds if I comment out:
> >     restrict_process_size((unsigned int)-1, 1);
> > on line 134 of src/login-common/main.c it starts to work again.
> 
> How about if it was done after setuid()? :) With a few tests it looks
> like Linux 2.4 and OpenBSD are happy with that.

Yep, that works fine on linux-2.6,0-test1-ac1 as well. Great! :)

Thanks for your help!
Grahame

-- 
Grahame Bowland                       Email: grahame at ucs.uwa.edu.au
University Communications Services    Phone: +61 8 9380 1175
The University of Western Australia     Fax: +61 8 9380 1109
                                     CRICOS: 00126G




More information about the dovecot mailing list