diff options
| author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-08-29 10:03:39 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-08-29 10:04:23 +0530 |
| commit | 050af9c4e86eeecd484ed44b7765e750523276eb (patch) | |
| tree | 0f0db2f1ddbadd2288acc5540eb9684337c78815 /ChangeLog | |
| parent | ad845c0be95fe3635af0147f0665b110286e68a5 (diff) | |
| download | glibc-050af9c4e86eeecd484ed44b7765e750523276eb.tar.xz glibc-050af9c4e86eeecd484ed44b7765e750523276eb.zip | |
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.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com> + + [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 <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/kernel-features.h |
