This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #14516] Don't make ttyname fail if procfs isunavailable
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: "Carlos O'Donell" <carlos_odonell at mentor dot com>
- Cc: <libc-alpha at sourceware dot org>, Masahiro Matsuya <mmatsuya at redhat dot com>
- Date: Fri, 24 Aug 2012 19:09:21 +0530
- Subject: Re: [PATCH][BZ #14516] Don't make ttyname fail if procfs isunavailable
- References: <20120824145037.4611785a@spoyarek><50377D33.7050302@mentor.com>
On Fri, 24 Aug 2012 09:10:11 -0400, Carlos wrote:
> This is a change in behaviour though and you should write a NEWS
> entry for this e.g.
OK, how about this:
diff --git a/NEWS b/NEWS
index e16618f..68d3223 100644
--- a/NEWS
+++ b/NEWS
@@ -39,6 +39,10 @@ Version 2.17
New configure option --disable-build-nscd avoids building nscd itself;
this is the default if --disable-nscd is used.
+* The ttyname function on Linux now falls back to searching for the tty file
+ descriptor in /dev/pts or /dev if /proc is not available. This allows
+ creations of chroots without the procfs mounted on /proc.
+
Version 2.16