diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-12-18 14:57:54 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-12-20 00:23:51 +0100 |
commit | 8f7f7a1bd3a26f501b2d6546cce1c669b59dcc87 (patch) | |
tree | 38ad351ff051cae014927aeea9f36acd773affd0 /src/update-utmp.c | |
parent | 9721b19968dd80ad187d03da214a2a8d28ead3ad (diff) |
log: never block on syslog in PID 1
Use a non-blocking syslog socket if logging from PID 1.
If sendmsg fails with EAGAIN, fall back to kmsg or console only for the
current message. Next message will try syslog again.
Diffstat (limited to 'src/update-utmp.c')
0 files changed, 0 insertions, 0 deletions