Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 1998 00:18:34 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        dg@root.com, Eivind Eklund <eivind@yes.no>, John Fieber <jfieber@indiana.edu>, current@FreeBSD.ORG
Subject:   Re: The infamous dying daemons bug 
Message-ID:  <199811081618.AAA24983@spinner.netplex.com.au>
In-Reply-To: Your message of "Sun, 08 Nov 1998 17:07:12 %2B0100." <16650.910541232@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:

> [*] I've often wished that we had a syslog(2), ie system call,
> which didn't require you to go through all the open/bind/send/
> gyrations.  Come to think of it, I son't see any reason apart
> from the ideological aspect for not having that.  It would
> improve the reliability and security of syslog a fair bit.

As long as it's called something like __syslog(), and the sprintf style
expansion is done in user mode.  openlog() takes an ident string.. To get
"better" syslog security, for non-root processes, this could be ignored and
the p_comm of the process used, and the pid forced on..

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811081618.AAA24983>