From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5496 Path: news.gmane.org!not-for-mail From: Brent Cook Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] implement issetugid(2) (v4) Date: Tue, 15 Jul 2014 15:29:01 -0500 Message-ID: References: <1405441807-5327-1-git-send-email-bcook@openbsd.org> <20140715201637.GI17402@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1405456194 9392 80.91.229.3 (15 Jul 2014 20:29:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2014 20:29:54 +0000 (UTC) Cc: musl@lists.openwall.com, beck@openbsd.org To: Rich Felker Original-X-From: musl-return-5501-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jul 15 22:29:47 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1X79MB-0005iB-3u for gllmg-musl@plane.gmane.org; Tue, 15 Jul 2014 22:29:47 +0200 Original-Received: (qmail 3087 invoked by uid 550); 15 Jul 2014 20:29:46 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3073 invoked from network); 15 Jul 2014 20:29:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4N8Q/+VVh6wtSaRM1cQHty6FjLAtSv9oxFJv+QUAgnQ=; b=k4zX6rUl4YlAfQudm+dIt8S6G3uV5DUcBAN+UZdxO/MFsEqwKGRJ8wHHtSCqyZRRA+ wI8muE25SJN+jCUf3WlAKKxQ5G2XsHygHd49Z7fcKotyDeTdjbqQvCrmGewhOg/9wEOP BmH3b/Oe+D826kyy3QtmyBAd1tyh2fLPWPv6zQHr+QzZrZEfhUHcTZnrxg80JjJK/Dbj OotzC4JxJomL8n/T2iOsRymNwTQejMIBbFcf0nYQvc7T7iHeIDVMvxRtTc4QEGz/0qIl VKDa6h/vZDSmJ4wcyMjuCTw4vuM/JkDOjZMqxfgmEW9BSWMzYCafxMWl34IGI5SCcb74 mXcg== X-Received: by 10.60.44.162 with SMTP id f2mr13624308oem.84.1405456174028; Tue, 15 Jul 2014 13:29:34 -0700 (PDT) In-Reply-To: <20140715201637.GI17402@brightrain.aerifal.cx> X-Mailer: Apple Mail (2.1878.6) Xref: news.gmane.org gmane.linux.lib.musl.general:5496 Archived-At: On Jul 15, 2014, at 3:16 PM, Rich Felker wrote: > On Tue, Jul 15, 2014 at 04:30:07PM +0000, Brent Cook wrote: >>> =46rom OpenBSD 2.0 and later, NetBSD, FreeBSD, OS X and Solaris >> http://www.openbsd.org/cgi-bin/man.cgi?query=3Dissetugid&sektion=3D2 >> [...] >=20 > In this form, I think the code is now simple, clean, and correct. The > only thing I'd still like to check on is whether it's been proposed to > glibc and whether we can possibly get them on board with providing a > compatible function. While I think it's unlikely that there could be > any incompatibilities in such a simple function, I'd like to foster > the kind of cooperation on adding new interfaces like this that > unifies APIs rather than having each system go their own way and just > add things without consideration for furthering the goals of > compatibility and standardization. No, I have not contacted the glibc folks yet. I thought it would make = sense to work out the details and discussion with just one C library = first, and the ease of building/testing musl made it a no-brainer. Yes, without a doubt, this would be great to have in glibc too. > Has anyone contacted the glibc folks yet? If not, would you like me to > do so? Yes, if you don=92t mind. It looks like it could be implemented in a = very simple way there as well. > Rich