summaryrefslogtreecommitdiff
path: root/src/update-utmp.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-12-18 14:57:54 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-20 00:23:51 +0100
commit8f7f7a1bd3a26f501b2d6546cce1c669b59dcc87 (patch)
tree38ad351ff051cae014927aeea9f36acd773affd0 /src/update-utmp.c
parent9721b19968dd80ad187d03da214a2a8d28ead3ad (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