Path: utzoo!utgpu!water!watmath!gamiddleton From: gamiddleton@watmath.waterloo.edu (Guy Middleton) Newsgroups: comp.bugs.4bsd Subject: Re: syslog(3) uses sendto() rather than send() - interaction with chroot() Keywords: chroot sendto send syslog Message-ID: <16390@watmath.waterloo.edu> Date: 19 Jan 88 22:58:42 GMT References: <2186@umd5.umd.edu> Reply-To: gamiddleton@watmath.waterloo.edu (Guy Middleton) Distribution: na Organization: University of Waterloo [MFCF/ICR] Lines: 10 In article <2186@umd5.umd.edu> louie@trantor.umd.edu (Louis A. Mamakos) writes: Fix: In openlog(), connect() to /dev/log. Subsequently, use send() on the connected socket rather than sendto(). User can now do an openlog() before any chroot(). This will work, but it would change things so that a call to openlog() would be necessary. The way it works now (as documented in syslog(3)), use of openlog() is optional.