Page MenuHomeFreeBSD

Exercise some care before sending SIGHUP to mountd.
ClosedPublic

Authored by kib on Apr 8 2019, 3:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 11 2024, 6:58 PM
Unknown Object (File)
Mar 11 2024, 6:58 PM
Unknown Object (File)
Mar 11 2024, 6:58 PM
Unknown Object (File)
Mar 11 2024, 6:57 PM
Unknown Object (File)
Mar 8 2024, 3:15 AM
Unknown Object (File)
Jan 27 2024, 5:35 PM
Unknown Object (File)
Jan 6 2024, 2:51 AM
Unknown Object (File)
Jan 6 2024, 2:51 AM
Subscribers

Details

Summary

Do trivial checks for the mountd' pid validity before.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Could we (also) add assertions in pidfile_open for this case?

sbin/mount/mount.c
243–244 ↗(On Diff #55945)

This comment is historically correct, but really we should stop having such bugs - in any case, we don't expect to have more and the comment suggests it's just something that happens occasionally and we're powerless to stop.

I would probably say "has happened due to ..."

This revision is now accepted and ready to land.Apr 8 2019, 3:52 PM
This revision now requires review to proceed.Apr 8 2019, 3:58 PM
This revision is now accepted and ready to land.Apr 8 2019, 4:40 PM
This revision was automatically updated to reflect the committed changes.