From owner-cvs-all Fri Feb 2 16:32: 7 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 8A6AD37B491; Fri, 2 Feb 2001 16:31:46 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f130Vk256323; Fri, 2 Feb 2001 16:31:46 -0800 (PST) (envelope-from brian) Message-Id: <200102030031.f130Vk256323@freefall.freebsd.org> From: Brian Somers Date: Fri, 2 Feb 2001 16:31:46 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG brian 2001/02/02 16:31:43 PST Modified files: sys/net if_tun.c Log: o Allow non-root users to open /dev/tun* (remove suser() in tunopen()) o Change the default device permissions to 0600 root:wheel (were uucp:dialer) o Only let root (suser()) change the MTU This makes it possible for an administrator to open up the permissions on /dev/tun*, letting non-root programs service a tun interface. Co-operation is still required with a priviledged program that will configure the interface side of things. Revision Changes Path 1.86 +6 -9 src/sys/net/if_tun.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message