From owner-freebsd-security@FreeBSD.ORG Tue Oct 2 21:46:08 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 493321065670 for ; Tue, 2 Oct 2012 21:46:08 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id F3A708FC1A for ; Tue, 2 Oct 2012 21:46:07 +0000 (UTC) Received: from [192.168.1.47] (unknown [176.222.238.90]) by csmtp2.one.com (Postfix) with ESMTPA id 3739D3017619; Tue, 2 Oct 2012 21:46:07 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) From: Erik Cederstrand In-Reply-To: Date: Tue, 2 Oct 2012 23:46:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9DD86238-51C8-4F38-B7EB-BD773039888B@cederstrand.dk> <20121001104901.GJ35915@deviant.kiev.zoral.com.ua> <20121001110805.GL35915@deviant.kiev.zoral.com.ua> To: Eitan Adler X-Mailer: Apple Mail (2.1486) Cc: freebsd-security@freebsd.org Subject: Re: Opinion on checking return value of setuid(getuid())? X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2012 21:46:08 -0000 Den 02/10/2012 kl. 16.45 skrev Eitan Adler : >> Are there any objections to the path I attached in my first post? To = the approach in general? If not, I'll send a PR so it doesn't get lost. > Not by me. Please cc me on the PR as I'll commit if no one else = objects. I submitted by web, but here it is: = http://www.freebsd.org/cgi/query-pr.cgi?pr=3D172289 Erik=