From owner-cvs-all Mon Sep 23 4:59:21 2002 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 CE0DA37B401; Mon, 23 Sep 2002 04:59:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9041F43E6E; Mon, 23 Sep 2002 04:59:19 -0700 (PDT) (envelope-from dcs@FreeBSD.org) Received: from freefall.freebsd.org (dcs@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8NBxJCo083485; Mon, 23 Sep 2002 04:59:19 -0700 (PDT) (envelope-from dcs@freefall.freebsd.org) Received: (from dcs@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8NBxJHK083484; Mon, 23 Sep 2002 04:59:19 -0700 (PDT) Message-Id: <200209231159.g8NBxJHK083484@freefall.freebsd.org> From: "Daniel C. Sobral" Date: Mon, 23 Sep 2002 04:59:19 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslog.conf.5 syslogd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dcs 2002/09/23 04:59:19 PDT Modified files: usr.sbin/syslogd syslog.conf.5 syslogd.c Log: Introduce to the !program specification a capability similar to the one that already exists for hosts: being able to specify a section that applies to every program *except* the one in question. The normal syntax for program specification is still valid. For the new capability, one uses: !-program Since there is no way to specify a program beginning with a dash in the old syntax, as it would be interpreted as the case above, the following alternative syntax to the original capability is provided: !+program This shouldn't introduce incompatibilities with any syslogd configuration in production because -stable's syslogd does not support a dash anywhere in the program specification. MFC after: 2 weeks Revision Changes Path 1.28 +11 -0 src/usr.sbin/syslogd/syslog.conf.5 1.107 +14 -2 src/usr.sbin/syslogd/syslogd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message