Philip Guenther <[email protected]> writes:

> Actually, the signal handling was simplified 14(!) years ago by miod@ when 
> he changed rbootd to do all processing from its main loop, with signals 
> just setting flags tested there.  This diff just removes the blocking and 
> unblocking that was rendered superfluous by that previous change.
>
> Back when signal were processed directly from the signal handler, opening 
> and closing the debug output file and reparsing the config, the "normal" 
> code had to block those signals when it wanted to keep those actions from 
> happening.  After miod's changes, the signal handler just sets a flag, so 
> there's no need to mask signals across sections of code.  While here, 
> delete some unnecessary #includes.
>
> I believe this removes the last uses of the obsolete sigblock(), 
> sigsetmask(), and sigmask() from non-GNU base.
>
> ok?

ok

I doubt you'll get test reports.  Shouldn't this kind of software be
moved to the ports tree, eventually?  I fear that the percentage of
users that actually need rbootd is fairly small...

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to