- (djm) [sshd.c] Use kill(0, ...) instead of killpg(0, ...); the

latter being specified to have undefined behaviour in SUSv3;
   ok dtucker
This commit is contained in:
Damien Miller 2014-01-28 15:08:12 +11:00
parent ab03949058
commit ab16ef4152
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
20140128
- (djm) [configure.ac] Search for inet_ntop in libnsl and libresovl;
ok dtucker
- (djm) [sshd.c] Use kill(0, ...) instead of killpg(0, ...); the
latter being specified to have undefined behaviour in SUSv3;
ok dtucker
20140127
- (dtucker) [Makefile.in] Remove trailing backslash which some make

2
sshd.c
View File

@ -372,7 +372,7 @@ grace_alarm_handler(int sig)
*/
if (getpgid(0) == getpid()) {
signal(SIGTERM, SIG_IGN);
killpg(0, SIGTERM);
kill(0, SIGTERM);
}
/* Log error and exit. */