util-linux/term-utils
Karel Zak 2c864ba8fc mesg: avoid 'ttyname failed: Success' message
The ttyname(3) can fail to access /dev/ path, and that will cause function
to fail without setting errno value with result of rather confusing error
message.  Lets start setting stdin permission via /proc when this happens as
a go-around, with hope kernel following symlink does not fail.  Ok, noted,
that hopes of symlink follow working are pretty slim.

Based on patch from Sami Kerola <kerolasa@iki.fi>.

Reference: https://github.com/lxc/lxd/issues/1724
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-05-27 13:07:12 +02:00
..
Makemodule.am mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
agetty.8 agetty.8: Avoid a warning about an unbreakable line 2018-08-06 08:58:57 +02:00
agetty.c agetty: Switch to 8-bit processing in get_logname() for UTF-8 terminals 2019-03-04 11:38:28 +01:00
mesg.1 mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
mesg.c mesg: avoid 'ttyname failed: Success' message 2019-05-27 13:07:12 +02:00
script.1 script: record exit code 2018-05-14 13:51:01 +02:00
script.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
scriptreplay.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
scriptreplay.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
setterm.1 setterm: fix --hbcolor description 2019-03-08 21:27:59 +01:00
setterm.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
ttymsg.c misc: safer (and uniform) handling of return value 2016-03-07 15:11:06 +01:00
ttymsg.h
wall.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wall.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
write.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
write.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00