]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: print proper core dump message when killed
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>
Sat, 27 Sep 2014 19:04:16 +0000 (16:04 -0300)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Oct 2014 08:23:48 +0000 (10:23 +0200)
commit1d966345df6721dc1da257867a18a84f1d9f98d5
tree2b02223d761d1ae0d51f202edb08a7aeca0040c8
parent937d6af4e1dfed8641475446cd9466a567fcf4e5
su: print proper core dump message when killed

An example is, in one terminal "sudo su -; echo $$", and in
another terminal, "kill -9  $PID" (the pid of the su -). It
should not print "(core dumped)", unless the kill signal
specified so, e.g. kill -7 or kill -11.

Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com>
login-utils/su-common.c