[nycbug-talk] Reentrant syslog for FreeBSD

Steven Kreuzer skreuzer at f2o.org
Fri Jan 5 16:52:05 EST 2007


Greetings-

I was wondering if any folks would like to help me test a patch that  
makes syslog reentrant on FreeBSD. I've done a little bit of testing  
and so far, so good.

The patch essentially takes OpenBSD's reentrant syslog functions  
(openlog_r, closelog_r, syslog_r and vsyslog_r) and makes the  
available in FreeBSD. Hopefully this will make building of packages  
such as spamd under FreeBSD easier since the source shouldn't require  
modifications.

To apply the patch as root:

cd /usr/src/
patch -p0 < /path/to/patch
make buildworld && make installworld
reboot

Feedback is very much appreciated.

Thanks,

Steven

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reentrant-syslog.patch
Type: application/octet-stream
Size: 9236 bytes
Desc: not available
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20070105/813f548e/attachment.obj>
-------------- next part --------------




More information about the talk mailing list