History log of /seL4-camkes-master/projects/musllibc/src/unistd/ttyname_r.c
Revision Date Author Comments
# 0a950dcf 20-Aug-2016 Szabolcs Nagy <nsz@port70.net>

verify that ttyname refers to the same file as the fd

linux containers use separate mount namespace so the /proc
symlink might not point to the right device if the fd was
opened in the parent namespace, in this case return ENOENT.


# 57174444 11-Dec-2013 Szabolcs Nagy <nsz@port70.net>

include cleanups: remove unused headers and add feature test macros


# c8c0844f 01-Aug-2013 Rich Felker <dalias@aerifal.cx>

debloat code that depends on /proc/self/fd/%d with shared function

I intend to add more Linux workarounds that depend on using these
pathnames, and some of them will be in "syscall" functions that, from
an anti-bloat standpoint, should not depend on the whole snprintf
framework.


# fcfba995 06-Sep-2012 Rich Felker <dalias@aerifal.cx>

fix broken ttyname[_r] (failure to null-terminate result)


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0