Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syslog: Don't allow blocking when in signal handler
Blocking while running a signal handler is not advisable, instead write the log string character by character. There is also a potential for a deadlock, as discussed in apache#6618 Note: querying for rtcb->sigdeliver is not 100% ideal, as it only tells _if_ a signal handler has been queued, not if it is running. However, it makes syslog safe / usable which is a debug feature anyhow.
- Loading branch information