From owner-cvs-all Thu Feb 27 20:31:31 2003 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 1A57637B401; Thu, 27 Feb 2003 20:31:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1A9943F85; Thu, 27 Feb 2003 20:31:29 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1S4VT0U098825; Thu, 27 Feb 2003 20:31:29 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1S4VTxP098824; Thu, 27 Feb 2003 20:31:29 -0800 (PST) Message-Id: <200302280431.h1S4VTxP098824@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 27 Feb 2003 20:31:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netncp ncp.h ncp_mod.c ncpio.h src/lib/libncp ncp_mod.h ncpl_net.c ncpl_subr.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 tjr 2003/02/27 20:31:29 PST Modified files: sys/netncp ncp.h ncp_mod.c lib/libncp ncpl_net.c ncpl_subr.c Added files: sys/netncp ncpio.h Removed files: lib/libncp ncp_mod.h Log: Use a character device and ioctl() for communication between libncp and the kernel instead of adding more syscalls at runtime. As a bonus, you can now restrict access to the kernel NCP interface with chmod. Revision Changes Path 1.3 +0 -16 src/lib/libncp/ncp_mod.h (dead) 1.3 +0 -1 src/lib/libncp/ncpl_net.c 1.7 +40 -18 src/lib/libncp/ncpl_subr.c 1.6 +1 -1 src/sys/netncp/ncp.h 1.7 +92 -137 src/sys/netncp/ncp_mod.c 1.1 +62 -0 src/sys/netncp/ncpio.h (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message