From owner-svn-src-head@FreeBSD.ORG Thu Aug 19 14:46:12 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 673291065675; Thu, 19 Aug 2010 14:46:12 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 25DF58FC0A; Thu, 19 Aug 2010 14:46:11 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 40F351FFC33; Thu, 19 Aug 2010 14:46:11 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 1A87C8454D; Thu, 19 Aug 2010 16:46:11 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Attilio Rao References: <201008161132.o7GBWKhx097183@svn.freebsd.org> <86mxsm4wff.fsf@ds4.des.no> <86bp924w3w.fsf@ds4.des.no> Date: Thu, 19 Aug 2010 16:46:11 +0200 In-Reply-To: (Attilio Rao's message of "Thu, 19 Aug 2010 16:36:44 +0200") Message-ID: <8662z6r77w.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r211393 - head/lib/libutil X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 14:46:12 -0000 Attilio Rao 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(). Perhaps the test in setusercontext() should be changed to use geteuid() instead of getuid(). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no