From owner-cvs-all@FreeBSD.ORG Fri Nov 5 09:27:20 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D48DD16A4CE; Fri, 5 Nov 2004 09:27:20 +0000 (GMT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 4465943D2D; Fri, 5 Nov 2004 09:27:19 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 5 Nov 2004 09:27:18 +0000 (GMT) Date: Fri, 5 Nov 2004 09:27:17 +0000 From: David Malone To: Makoto Matsushita Message-ID: <20041105092717.GA98184@walton.maths.tcd.ie> References: <200411042309.iA4N9v06043345@repoman.freebsd.org> <20041105102609W.matusita@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041105102609W.matusita@jp.FreeBSD.org> User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie cc: cvs-src@FreeBSD.org cc: glebius@FreeBSD.org cc: cvs-all@FreeBSD.org cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h src/lib/libc/gen syslog.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 09:27:21 -0000 On Fri, Nov 05, 2004 at 10:26:09AM +0900, Makoto Matsushita wrote: > It would be a good one, but how do I open yet another priv socket? > (Imagine you have a chroot/jail sandbox, and sshd runs inside sandbox.) libc automatically falls back to the original socket if there is no priv socket, so it shouldn't cause any problems. > Do we have yet another option, say, option -L (open priv socket), and > use it as "syslogd -l /my/jail/var/run/log -L /my/jail/var/run/logpriv" > or something like that? You can now specify the the mode for the socket on the command line, so you should be able to do: syslogd -l /my/jail/var/run/log -l 600:/my/jail/var/run/logpriv David.