Page MenuHomeFreeBSD

syslogd: Ignore signals in sigcatch[]
ClosedPublic

Authored by jfree on Aug 12 2023, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 4:37 AM
Unknown Object (File)
Thu, Nov 7, 2:48 AM
Unknown Object (File)
Oct 21 2024, 5:25 AM
Unknown Object (File)
Oct 21 2024, 5:25 AM
Unknown Object (File)
Oct 21 2024, 5:25 AM
Unknown Object (File)
Oct 21 2024, 3:46 AM
Unknown Object (File)
Oct 18 2024, 11:01 PM
Unknown Object (File)
Sep 16 2024, 3:23 PM
Subscribers

Details

Summary
Instead of blocking signals in sigcatch[], just ignore them. This frees
up some space on the proc's sigqueue.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

There is some code elsewhere in syslogd.c which unblocks signals in a child process. Is it still correct?

  • Set signal handler to SIG_DFL for signals in sigaction[] upon fork()
  • Add comment explaining how syslogd handles child process reaping
This revision is now accepted and ready to land.Aug 16 2023, 8:49 PM
This revision was automatically updated to reflect the committed changes.