From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/868 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: getpass misplaced Date: Sun, 20 May 2012 23:01:06 -0400 Message-ID: <20120521030106.GD163@brightrain.aerifal.cx> References: <20120520192550.2cef3782@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1337569591 32157 80.91.229.3 (21 May 2012 03:06:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 May 2012 03:06:31 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-869-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 21 05:06:30 2012 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 1SWIx0-0003wd-Og for gllmg-musl@plane.gmane.org; Mon, 21 May 2012 05:06:26 +0200 Original-Received: (qmail 7829 invoked by uid 550); 21 May 2012 03:06:26 -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 7821 invoked from network); 21 May 2012 03:06:26 -0000 Content-Disposition: inline In-Reply-To: <20120520192550.2cef3782@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:868 Archived-At: On Sun, May 20, 2012 at 07:25:50PM -0700, Isaac Dunham wrote: > I know getpass is an atrocious security mistake of years ago, but > if we are going to support it, glibc defines it with GNU, BSD, or *old* > X/Open feature macros in , not . Fixed. > Also, I've found two more headers that actually don't need _BSD_SOURCE > added before they offer the BSD functionality (all BSD functions are > also available in every other relevant namespace): pwd.h and utmp.h. OK. > This has me down to 22 headers that still need work/reviewing. Here's > the TODO for _BSD_SOURCE: > > include/tgmath.h This is purely C99 stuff; I don't think GNU would add anything. > include/glob.h We don't support the extensions here, and even if we want to have the macros for extension flags, they seem to be in the reserved namespace and thus ok to defined unconditionall. > include/shadow.h > include/endian.h These are nonstandard and in principle don't need any feature test macros. However, we use them in endian.h so that other headers can include endian.h. > could cause breakage without extension. I forget > exactly what the problem was, though. ..what? Rich