On Thu, 2006-03-30 at 18:22 +0200, Adrian von Bidder wrote:
> 
> (Taking advantage of the fact that IIRC processes printing log messages open 
> and close the socket for every messages, so looking a few times until 
> abs(the intersection of all processes on that socket) == 1 should be safe.

It's not that obvious. There are function (at least in C) to open a
socket to syslog (openlog). If a program use this, then it will keep the
connection open till the end of the program. (Or till the next closelog
call. :) )

In my destop system there are about 6 stable connection into /dev/log.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to