From 050af9c4e86eeecd484ed44b7765e750523276eb Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 29 Aug 2012 10:03:39 +0530 Subject: Don't make ttyname* fail if proc filesystem is not available The ttyname and ttyname_r functions on Linux now fall back to searching for the tty file descriptor in /dev/pts or /dev if /proc is not available. This allows creation of chroots without the procfs mounted on /proc. Fixes BZ #14516. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f72f4b41b3..2490456703 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-08-29 Siddhesh Poyarekar + + [BZ #14516] + * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return + failure if reading from procfs failed. + * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise. + 2012-08-27 Joseph Myers * sysdeps/unix/sysv/linux/kernel-features.h -- cgit v1.2.3