summaryrefslogtreecommitdiff
path: root/crt/sh
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-04-21 17:41:10 -0400
committerRich Felker <dalias@aerifal.cx>2017-04-21 17:41:10 -0400
commite1232f5b5185e8f337806841018369407e32e77d (patch)
tree291e1af74e71af91caad227aae2c4dd18dc7dea9 /crt/sh
parent1a7fa5e5211a67e89861583516ee1566609467a1 (diff)
downloadmusl-e1232f5b5185e8f337806841018369407e32e77d.tar.gz
musl-e1232f5b5185e8f337806841018369407e32e77d.tar.bz2
musl-e1232f5b5185e8f337806841018369407e32e77d.tar.xz
musl-e1232f5b5185e8f337806841018369407e32e77d.zip
make ttyname[_r] return ENODEV rather than ENOENT
commit 0a950dcf15bb9f7274c804dca490e9e20e475f3e added checking that the pathname a tty device was opened with actually matches the device, which can fail to hold when a container inherits a tty from outside the container. the error code added at the time was ENOENT; however, discussions between affected applications and glibc developers resulted in glibc adopting ENODEV as the error for this condition, and this has now been documented in the man pages project as well. adopt the same error code for consistency. patch by Christian Brauner.
Diffstat (limited to 'crt/sh')
0 files changed, 0 insertions, 0 deletions