BRBUILDLOG:command:br_prepare_repo glibc master ---> git remote prune origin ---> git pull --all Fetching origin Already up-to-date. Current top commit: commit 15e9a4f378c8607c2ae1aa465436af4321db0e23 Author: Christian Brauner Date: Fri Jan 27 15:59:59 2017 +0100 linux ttyname and ttyname_r: do not return wrong results If a link (say /proc/self/fd/0) pointing to a device, say /dev/pts/2, in a parent mount namespace is passed to ttyname, and a /dev/pts/2 exists (in a different devpts) in the current namespace, then it returns /dev/pts/2. But /dev/pts/2 is NOT the current tty, it is a different file and device. Detect this case and return ENODEV. Userspace can choose to take this as a hint that the fd points to a tty device but to act on the fd rather than the link. Signed-off-by: Serge Hallyn Signed-off-by: Christian Brauner Outstanding patch: BRBUILDLOG:starttime:1489986383.836717441 BRBUILDLOG:stoptime:1489986386.058198681 BRBUILDLOG:duration:2.221481240 BRBUILDLOG:status:0