Date: Thu, 19 Aug 2010 16:51:37 +0200 From: Attilio Rao <attilio@freebsd.org> To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@des.no> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211393 - head/lib/libutil Message-ID: <AANLkTi=vSxjTEToPyFZC_DwUPnTq4Sr-RoKRT7sJm%2Bp=@mail.gmail.com> In-Reply-To: <8662z6r77w.fsf@ds4.des.no> References: <201008161132.o7GBWKhx097183@svn.freebsd.org> <86mxsm4wff.fsf@ds4.des.no> <86bp924w3w.fsf@ds4.des.no> <AANLkTikVMVpM=E3x6i=zGnCqPrTis=kyA3PzhwotB=H0@mail.gmail.com> <8662z6r77w.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/8/19 Dag-Erling Sm=C3=B8rgrav <des@des.no>: > Attilio Rao <attilio@freebsd.org> writes: >> It seems to me that ftpd doesn't need any change, do you agree? > > Hmm, it never calls setuid(), but it does call seteuid() before > setusercontext(). =C2=A0Perhaps the test in setusercontext() should be > changed to use geteuid() instead of getuid(). Yes, I think that it probabilly makes more sense (geteuid() testing in setusercontext()). Thanks, Attilio --=20 Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=vSxjTEToPyFZC_DwUPnTq4Sr-RoKRT7sJm%2Bp=>