util-linux/login-utils
Karel Zak bdd4335706 lib/pty-session: make wait_child callback optional
Now the code is duplicate on many places, but all we usually need is to
remember child status. It seems good enough to have very simple
callback child_die() to inform application about a change.

The patch also add PID to all signal related callbacks.

Signed-off-by: Karel Zak <kzak@redhat.com>
2019-10-08 13:11:54 +02:00
..
Makemodule.am build-sys: fix build with pty 2019-10-08 13:11:54 +02: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 man: Change the only argument to two for the two-fonts macros 2018-05-23 10:43:27 +02:00
chfn.c chfn: don't append extra tailing commas 2019-08-19 14:03:07 +02:00
chsh.1 man: Change the only argument to two for the two-fonts macros 2018-05-23 10:43:27 +02:00
chsh.c chsh: replace getpw unsafe functions with xgetpw 2019-09-26 15:55:41 +02:00
islocal.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
islocal.h login-utils: add header file guards [lgtm scan] 2019-09-20 16:10:43 +02:00
last.1 man pages: Remove "left" (or change to "l") in the column formats of tables 2018-08-06 08:58:57 +02:00
last.c cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02: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: add support for login.defs(5) LASTLOG_UID_MAX 2019-01-11 12:16:00 +01:00
login.c misc: fix typos [codespell] 2019-09-12 19:41:46 +01:00
logindefs.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
logindefs.h login-utils/logindefs: clenaup API 2019-01-11 12:15:22 +01:00
lslogins.1 cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
lslogins.c lslogins: Fix discrepancies of SYS_UID_MIN 2019-04-24 11:16:53 +02:00
newgrp.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
newgrp.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
nologin.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
nologin.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
runuser.1 su: add note about ECHO on --pty 2019-03-06 13:12:23 +01:00
runuser.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
selinux_utils.c chfn: chsh: use selinux_check_passwd_access() 2016-06-14 13:38:13 +02:00
selinux_utils.h chfn: chsh: use selinux_check_passwd_access() 2016-06-14 13:38:13 +02: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 lib/pty-session: make wait_child callback optional 2019-10-08 13:11:54 +02:00
su-common.h su: move generic su code to su-common.c 2012-09-04 17:00:30 +02:00
su.1 docs: correct su.1 runuser reference from section 8 to 1 2019-08-24 09:29:55 +01:00
su.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
sulogin-consoles.c sulogin: reduce vulnerability surface 2017-05-02 23:22:04 +01:00
sulogin-consoles.h cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
sulogin.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
sulogin.c sulogin: fix variable / function shadowing [cppcheck] 2019-05-18 22:41:58 +01:00
utmpdump.1 utmpdump: fix word swapping in manual page 2019-01-08 14:51:13 +01:00
utmpdump.c utmpdump: check ftello() return value 2019-05-16 13:46:03 +02:00
vigr.8 Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
vipw.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
vipw.c vipw: use xstrncpy() 2019-05-20 12:57:39 +02:00