From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/867 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: getpass misplaced Date: Sun, 20 May 2012 19:25:50 -0700 Message-ID: <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 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337567188 19317 80.91.229.3 (21 May 2012 02:26:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 May 2012 02:26:28 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-868-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 21 04:26:28 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 1SWIKH-0004X5-NR for gllmg-musl@plane.gmane.org; Mon, 21 May 2012 04:26:25 +0200 Original-Received: (qmail 24055 invoked by uid 550); 21 May 2012 02:26:25 -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 24047 invoked from network); 21 May 2012 02:26:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=4QiGMmpLbEOm1ypG/JpB++WtDq9d7WbeVTq3qkCRiXK0MT1/EtpjBnn9vl9LGx1IXWj7R3O4knmreh1lHEHnhSdWWyOUFUVlw7/uiPVUdY+Cty+3r5+Ni2yCcuXaMRZZY0NCUngjeWWHSr0kJoYXxz2lX5h6ybwM4funLhh+Jwg=; h=Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:867 Archived-At: 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 . 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. This has me down to 22 headers that still need work/reviewing. Here's the TODO for _BSD_SOURCE: include/tgmath.h include/glob.h include/arpa/inet.h include/sys/select.h include/sys/wait.h include/sys/socket.h include/sys/un.h include/sys/uio.h include/sys/mman.h include/sys/stat.h include/setjmp.h include/dirent.h include/time.h include/netinet/ip.h include/netinet/tcp.h include/netinet/ip_icmp.h include/netinet/in.h Missing structs include/netinet/if_ether.h include/shadow.h include/endian.h include/grp.h include/net/if.h could cause breakage without extension. I forget exactly what the problem was, though. Isaac Dunham