More fun with file descriptors
Posted Jun 14, 2007 18:24 UTC (Thu) by
vmole (guest, #111)
In reply to:
More fun with file descriptors by davecb
Parent article:
More fun with file descriptors
Hmmn, any app writer who kills his own syslog get exactly what
they deserve (;-))
Any syslog that allows the user app to kill it through normal standard procedures (e.g. closing fds for a daemon) is broken. :-)
Unfortunately, this is one of those cases where you have to know something about the underlying libc implementation to avoid screwing yourself. In particular, most of the implementations I've worked with only break if you've called openlog().
(
Log in to post comments)