util-linux/login-utils
Karel Zak 270ab78a0c su: don't use kill(0, ...) when propagate signal
The current code uses kill(0, caught_signal) after regular
signal cleanup and before exit (all just to make shells happy).

Unfortunately, kill(0, ...) is a bad idea. It seems better to use
kill(getpid(), ...) otherwise we kill our parent process too.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1063887
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-02-17 13:22:30 +01:00
..
Makemodule.am nologin: add new command 2013-09-30 13:36:26 +02:00
auth.c chsh-chfn: fix bugs, improve compilation 2013-02-13 13:44:34 +01:00
auth.h chsh-chfn: Move pam auth to its own function, factoring out common code 2013-02-13 09:28:33 +01:00
chfn.1 chsh, chfn: add info about non-local support to the man pages 2013-11-11 09:18:18 +01:00
chfn.c chfn: assigned value is never read [clang-analyzer] 2013-07-09 14:25:11 +02:00
chsh.1 chsh, chfn: add info about non-local support to the man pages 2013-11-11 09:18:18 +01:00
chsh.c chsh-chfn: fix bugs, improve compilation 2013-02-13 13:44:34 +01:00
islocal.c textual: spell and encode the name of Arkadiusz Miśkiewicz correctly 2013-02-06 11:15:02 +01:00
islocal.h login: rewrite is_local() to remove limits on line length 2008-04-14 13:12:14 +02:00
last-deprecated.1 last: merge sysvinit last/lastb 2013-08-12 12:07:52 +02:00
last-deprecated.c last: merge sysvinit last/lastb 2013-08-12 12:07:52 +02:00
last.1 docs: sort options in last man page alphabetically 2013-10-14 14:55:23 +02:00
last.c last: make session gone determination more robust 2014-02-10 18:25:31 +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 chsh: Add libuser support 2013-02-13 09:37:15 +01:00
login.1 docs: standardize the phrases for --help and --version in all man pages 2013-10-15 10:28:30 +02:00
login.c docs: improve grammar and consistency of comments in login.c 2013-06-07 11:31:43 +02:00
logindefs.c su: fix compiler warning [-Wstrict-prototypes] 2012-09-21 12:38:18 +02:00
logindefs.h logindefs: change getlogindefs_num() to return unsigned long 2012-06-02 11:57:42 +02:00
newgrp.1 docs: uniformize the header and footer lines in man pages 2011-08-22 10:39:21 +02:00
newgrp.c newgrp: use xstrdup to check allocation succeeded 2013-04-05 13:55:50 +02:00
nologin.8 man: Syntax and spelling fixes. 2014-01-06 08:55:09 +01:00
nologin.c nologin: add new command 2013-09-30 13:36:26 +02:00
runuser.1 runuser: update man page, add note about -l vs. -p 2013-06-07 11:26:46 +02:00
runuser.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
selinux_utils.c selinux_utils: fix coding style 2011-11-29 17:58:00 +01:00
selinux_utils.h Imported from util-linux-2.12a tarball. 2006-12-07 00:26:14 +01:00
setpwnam.c textual: fix two misencodings in comments 2013-02-06 11:15:05 +01:00
setpwnam.h pathnames: clean up various user database paths 2012-03-18 14:28:05 +01:00
su-common.c su: don't use kill(0, ...) when propagate signal 2014-02-17 13:22:30 +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: add info about pam_lastlog to su.1 2013-10-21 14:27:30 +02:00
su.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
sulogin-consoles.c sulogin: use dirent->d_type when scans /dev 2013-11-12 12:26:13 +01:00
sulogin-consoles.h include/ttyutils: add default chardata 2013-01-08 15:42:12 +01:00
sulogin.8 docs: standardize the phrases for --help and --version in all man pages 2013-10-15 10:28:30 +02:00
sulogin.c include/c.h: prefer nanosleep() over usleep() 2014-01-24 13:04:14 +01:00
utmpdump.1 docs: standardize the phrases for --help and --version in all man pages 2013-10-15 10:28:30 +02:00
utmpdump.c utmpdump: make analyzers happy 2013-10-01 17:11:25 +02:00
vigr.8 Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
vipw.8 vipw: use xmkstemp() and lckpwdf() 2012-03-18 14:28:04 +01:00
vipw.c vipw: add usage() function 2013-04-05 13:56:14 +02:00