From owner-cvs-all Thu Jan 25 17:45:13 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 B655237B400; Thu, 25 Jan 2001 17:44:49 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0Q1inD19724; Thu, 25 Jan 2001 17:44:49 -0800 (PST) (envelope-from brian) Message-Id: <200101260144.f0Q1inD19724@freefall.freebsd.org> From: Brian Somers Date: Thu, 25 Jan 2001 17:44:49 -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: NETGRAPH Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/01/25 17:44:49 PST Modified files: (Branch: NETGRAPH) usr.sbin/ppp bundle.c command.c main.c ppp.8 prompt.c radius.c server.c server.h Log: MFC: 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.105.2.4 +31 -19 src/usr.sbin/ppp/bundle.c 1.248.2.3 +27 -6 src/usr.sbin/ppp/command.c 1.175.2.2 +11 -2 src/usr.sbin/ppp/main.c 1.237.2.9 +28 -5 src/usr.sbin/ppp/ppp.8 1.22.2.1 +3 -3 src/usr.sbin/ppp/prompt.c 1.16.2.2 +8 -7 src/usr.sbin/ppp/radius.c 1.31.2.2 +112 -40 src/usr.sbin/ppp/server.c 1.7.2.1 +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