From owner-svn-src-head@FreeBSD.ORG Fri Aug 20 19:40:30 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 6BC88106577E; Fri, 20 Aug 2010 19:40:30 +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 292F18FC20; Fri, 20 Aug 2010 19:40:30 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 600881FFC34; Fri, 20 Aug 2010 19:40:29 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 40EFB8456E; Fri, 20 Aug 2010 21:40:29 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "M. Warner Losh" References: <861v9ty7bg.fsf@ds4.des.no> <20100820.123742.600640546137300360.imp@bsdimp.com> <86bp8xf5u6.fsf@ds4.des.no> <20100820.133240.271446115529437414.imp@bsdimp.com> Date: Fri, 20 Aug 2010 21:40:29 +0200 In-Reply-To: <20100820.133240.271446115529437414.imp@bsdimp.com> (M. Warner Losh's message of "Fri, 20 Aug 2010 13:32:40 -0600 (MDT)") Message-ID: <86iq35dqdu.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: attilio@freebsd.org, 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: Fri, 20 Aug 2010 19:40:30 -0000 "M. Warner Losh" writes: > Dag-Erling Sm=C3=B8rgrav writes: > > "M. Warner Losh" writes: > > > And we're back to the reason for why issetugid() :) > > Does setuid() "untaint" a program? > No. Yet I would argue that it is safe to apply the user's .login_conf after setuid(), so issetugid() is not an appropriate test. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no