From owner-freebsd-current Sun Nov 8 08:25:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24513 for freebsd-current-outgoing; Sun, 8 Nov 1998 08:25:56 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24507 for ; Sun, 8 Nov 1998 08:25:53 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id AAA24983; Mon, 9 Nov 1998 00:18:35 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199811081618.AAA24983@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Poul-Henning Kamp cc: dg@root.com, Eivind Eklund , John Fieber , current@FreeBSD.ORG Subject: Re: The infamous dying daemons bug In-reply-to: Your message of "Sun, 08 Nov 1998 17:07:12 +0100." <16650.910541232@critter.freebsd.dk> Date: Mon, 09 Nov 1998 00:18:34 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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