From owner-cvs-all Sun Sep 1 13:37:34 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 8500437B400; Sun, 1 Sep 2002 13:37:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45A4843E4A; Sun, 1 Sep 2002 13:37:30 -0700 (PDT) (envelope-from iedowse@FreeBSD.org) Received: from freefall.freebsd.org (iedowse@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g81KbUJU020357; Sun, 1 Sep 2002 13:37:30 -0700 (PDT) (envelope-from iedowse@freefall.freebsd.org) Received: (from iedowse@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g81KbT4U020356; Sun, 1 Sep 2002 13:37:29 -0700 (PDT) Message-Id: <200209012037.g81KbT4U020356@freefall.freebsd.org> From: Ian Dowse Date: Sun, 1 Sep 2002 13:37:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys syscallsubr.h vnode.h src/sys/kern init_main.c kern_sig.c sys_generic.c vfs_syscalls.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 iedowse 2002/09/01 13:37:29 PDT Modified files: sys/sys vnode.h sys/kern init_main.c kern_sig.c sys_generic.c vfs_syscalls.c Added files: sys/sys syscallsubr.h Log: Split out a number of mostly VFS and signal related syscalls into a kernel-internal kern_*() version and a wrapper that is called via the syscall vector table. For paths and structure pointers, the internal version either takes a uio_seg parameter or requires the caller to copyin() the data to kernel memory as appropiate. This will permit emulation layers to use these syscalls without having to copy out translated arguments to the stack gap. Discussed on: -arch Review/suggestions: bde, jhb, peter, marcel Revision Changes Path 1.203 +2 -1 src/sys/kern/init_main.c 1.184 +47 -29 src/sys/kern/kern_sig.c 1.112 +38 -21 src/sys/kern/sys_generic.c 1.285 +214 -82 src/sys/kern/vfs_syscalls.c 1.1 +76 -0 src/sys/sys/syscallsubr.h (new) 1.206 +0 -1 src/sys/sys/vnode.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message