util-linux/term-utils
Karel Zak 890e103559 wall: do not use a temporary file.
The issue with using a temporary file in wall is that wall runs as setgid.
This means that an unprivileged user who runs wall can modify wall's
temporary files, even if those are mode 0600, so the unprivileged user can
edit and effectively suppress the banner. The fix is to simply not use
temporary files.

[kzak@redhat.com: - rewrite growing string functions
                  - use struct buffer
                  - add buf_print() function]

Signed-off-by: Karel Zak <kzak@redhat.com>
Co-Author: Jann Horn <jann@thejh.net>
2015-04-03 11:44:24 +02:00
..
Makemodule.am build-sys: use -lutil for BSD only 2014-09-17 10:56:46 +02:00
agetty.8 agetty: support /usr/lib/os-release too 2015-03-05 12:25:28 +01:00
agetty.c agetty: reload issue on --autologin --login-pause too 2015-03-09 12:45:52 +01:00
mesg.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
mesg.c rpmatch: use symbolic value when evaluation return codes 2015-02-24 12:42:06 +01:00
reset reset: make scripts bourne sh compliant [checkbashisms] 2012-03-30 16:48:12 +02:00
reset.1 docs: bring a few more man pages closer to standard formatting 2014-07-16 12:03:25 +02:00
reset.033c reset: make scripts bourne sh compliant [checkbashisms] 2012-03-30 16:48:12 +02:00
script.1 script.1: Improve documentation of non-interactive behavior 2015-02-16 10:49:36 +01:00
script.c Fix "Script started" buffering race 2015-02-10 11:18:51 +01:00
scriptreplay.1 docs: fix some spelling errors and typos in man pages 2015-02-27 14:48:56 +01:00
scriptreplay.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00
setterm.1 docs: restore minus symbols in long opts 2015-01-20 18:15:30 -05:00
setterm.c lib/strutils: extend parse_switch() to accept more options 2015-02-24 12:04:22 +01:00
ttymsg.c term-utils: avoid error message string length couting errors 2014-05-12 13:37:35 +02:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
wall.c wall: do not use a temporary file. 2015-04-03 11:44:24 +02:00
write.1 docs: remove obsolete and unneeded comments from man-page files 2015-01-12 11:03:26 +01:00
write.c textual: add a docstring to most of the utilities 2015-01-06 11:27:38 +01:00