diff options
author | Colin Watson <cjwatson@debian.org> | 2009-01-13 20:18:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-01-13 20:18:14 +0000 |
commit | 78a89e637c337e240678de3d1c0f1486b3affb93 (patch) | |
tree | b4b030fa792cc32b5cceae77fb99d98bdb6882b6 /monitor_fdpass.c | |
parent | 92863e5802abcf84a0c778e2cfd52def42d19f89 (diff) |
Check that /var/run/sshd.pid exists and that the process ID listed there
corresponds to sshd before running '/etc/init.d/ssh reload' from if-up
script; SIGHUP is racy if called at boot before sshd has a chance to
install its signal handler, but fortunately the pid file is written
after that which lets us avoid the race (closes: #502444).
Diffstat (limited to 'monitor_fdpass.c')
0 files changed, 0 insertions, 0 deletions