From owner-cvs-all Thu Jan 25 17:41:59 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A0ACD37B402; Thu, 25 Jan 2001 17:41:35 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0Q1fZH19361; Thu, 25 Jan 2001 17:41:35 -0800 (PST) (envelope-from brian) Message-Id: <200101260141.f0Q1fZH19361@freefall.freebsd.org> From: Brian Somers Date: Thu, 25 Jan 2001 17:41:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp bundle.c command.c main.c ppp.8 prompt.c radius.c server.c server.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/01/25 17:41:35 PST Modified files: usr.sbin/ppp bundle.c command.c main.c ppp.8 prompt.c radius.c server.c server.h Log: Allow ``set server closed'' to close the diagnostic socket. Allow ``set server open'' to re-open the diagnostic socket. Handle SIGUSR1 by re-opening the diagnostic socket When receiving SIGUSR2 (and in ``set server none''), don't forget the socket details so that ``set server open'' and SIGUSR1 open it again. Don't create the diagnostic socket as uid 0 ! It's far to dangerous. Revision Changes Path 1.107 +31 -19 src/usr.sbin/ppp/bundle.c 1.253 +27 -6 src/usr.sbin/ppp/command.c 1.177 +11 -2 src/usr.sbin/ppp/main.c 1.253 +28 -5 src/usr.sbin/ppp/ppp.8 1.23 +3 -3 src/usr.sbin/ppp/prompt.c 1.18 +8 -7 src/usr.sbin/ppp/radius.c 1.33 +112 -40 src/usr.sbin/ppp/server.c 1.8 +19 -7 src/usr.sbin/ppp/server.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message