util-linux/login-utils
Andrew Shapiro f3a7b057ac utmpdup: Ensure flushing when using follow flag
The following usages of utmpdump result in no output being flushed to the specified file because the default output buffering is fully buffered:

$ utmpdump --follow --output myOutputFile /var/log/utmp
$ utmpdump --follow /var/log/utmp > myOutputFile

This change configures line buffering for these scenarios so that output will be flushed after each log event.

Signed-off-by: Andrew Shapiro <anshapiro@gmail.com>
2021-03-02 10:49:53 +01:00
..
Makemodule.am ci: deal with uninstrumented binaries using instrumented libs 2021-02-01 12:00:30 +01:00
auth.c include: move pamfail.h to auth.c 2017-08-05 09:58:18 +01:00
auth.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
ch-common.c chfn, chsh: share illegal_passwd_chars() function 2015-01-05 22:52:50 +00:00
ch-common.h chfn, chsh: share illegal_passwd_chars() function 2015-01-05 22:52:50 +00:00
chfn.1 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
chfn.c lib/selinux-utils: tiny cleanup 2021-01-13 15:04:02 +01:00
chsh.1 Manual pages: order AUTHORS / COPYRIGHT / SEE ALSO / AVAILABILITY consistently 2020-05-22 10:25:49 +02:00
chsh.c chfs-chfn: remove deprecated selinux_check_passwd_access() 2021-01-13 14:27:15 +01:00
islocal.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00
islocal.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
last.1 Manual pages: order NOTES / HISTORY / BUGS / EXAMPLE consistently 2020-05-22 10:25:50 +02:00
last.c fuzzers: make tests setup more robust 2020-12-01 11:35:02 +01:00
lastb.1 last: merge sysvinit last/lastb 2013-08-12 12:07:52 +02:00
libuser.c chsh-chfn: fix bugs, improve compilation 2013-02-13 13:44:34 +01:00
libuser.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
login.1 login: tidy up manual page 2020-12-03 20:09:15 +00:00
login.c login: move generic setting to ttyutils.h 2021-02-23 11:46:10 +01:00
logindefs.c login: fixed invalid sizeof usage 2020-06-19 20:37:44 +02:00
logindefs.h login-utils/logindefs: clenaup API 2019-01-11 12:15:22 +01:00
lslogins.1 Manual pages: lslogins.1: Minor wording and formatting fixres 2020-07-24 14:41:49 +02:00
lslogins.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01:00
newgrp.1 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
newgrp.c cast NULL to char * when using execl 2020-10-29 19:49:07 +02:00
nologin.8 Manual pages: nologin.8: formatting fixes 2020-07-24 14:41:49 +02:00
nologin.c nologin: use ul_copy_file 2020-11-09 07:19:24 +02:00
runuser.1 Manual pages: runuser.1, su.1: miscellaneous wording and formatting fixes 2020-07-14 14:37:26 +02:00
runuser.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
setpwnam.c setpwnam: use more appropriate allocation size types 2019-08-21 15:00:16 +02:00
setpwnam.h chsh, chfn, vipw: fix filenames collision 2015-08-24 10:05:55 +02:00
su-common.c su: (pty) change owner and mode for pty 2021-02-23 11:52:45 +01:00
su-common.h su: move generic su code to su-common.c 2012-09-04 17:00:30 +02:00
su.1 su: fix man page typos 2021-02-25 09:34:30 +01:00
su.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
sulogin-consoles.c Fix minor typos 2020-07-09 20:14:32 +03:00
sulogin-consoles.h cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
sulogin.8 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
sulogin.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01:00
utmpdump.1 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
utmpdump.c utmpdup: Ensure flushing when using follow flag 2021-03-02 10:49:53 +01:00
vigr.8 Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
vipw.8 doc: login-utils/*: Fix some warnings from "mandoc -T lint" 2020-06-15 11:28:01 +02:00
vipw.c build-sys: remove fallback for security_context_t 2021-01-13 13:12:19 +01:00