syslog(3) as user sets errno

2007-04-28 Thread Stefan Ehmann
If a non-privilged program calls syslog(3), after the call, errno is set to 13 (permission denied). In lib/libc/gen/syslog.c connectlog(), it is first tried to connect to /var/run/logpriv. If it fails /var/run/log is tried. The first connect fails if syslog() is not called as root, it fails wit

Re: syslog(3) as user sets errno

2007-04-28 Thread Stefan Ehmann
On Saturday 28 April 2007 14:16:34 Stefan Ehmann wrote: > If a non-privilged program calls syslog(3), after the call, errno is set to > 13 (permission denied). Seems like I jumped the gun. opengroup.org says "The value of errno should only be examined when it is indicated to be

automatic acoustic management supported?

2006-01-21 Thread Stefan Ehmann
Is there a way to enable automatic acoustic management? atacontrol cap states that the drive is capable but I couldn't find a way to enable it. Feature Support EnableValue Vendor write cacheyes yes read ahead yes