From owner-cvs-all@FreeBSD.ORG Sat Apr 23 21:53:05 2005 Return-Path: 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 8153216A4CE; Sat, 23 Apr 2005 21:53:05 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65BAD43D41; Sat, 23 Apr 2005 21:53:05 +0000 (GMT) (envelope-from ps@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3NLr5AD009689; Sat, 23 Apr 2005 21:53:05 GMT (envelope-from ps@repoman.freebsd.org) Received: (from ps@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3NLr5FL009688; Sat, 23 Apr 2005 21:53:05 GMT (envelope-from ps) Message-Id: <200504232153.j3NLr5FL009688@repoman.freebsd.org> From: Paul Saab Date: Sat, 23 Apr 2005 21:53:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/kern kern_descrip.c vfs_lookup.c vfs_syscalls.c src/sys/sys syscallsubr.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 21:53:05 -0000 ps 2005-04-23 21:53:05 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern kern_descrip.c vfs_lookup.c vfs_syscalls.c sys/sys syscallsubr.h Log: MFC: - Implement kern_foo wrappers for stat(), lstat(), fstat(), statfs(), fstatfs(), and fhstatfs(). Use these wrappers to cut out a lot of code duplication for freebsd4 and netbsd compatability system calls. - Add a new lookup function kern_alternate_path() that looks up a filename under an alternate prefix and determines which filename should be used. This is basically a more general version of linux_emul_convpath() that can be shared by all the ABIs thus allowing for further reduction of code duplication. Revision Changes Path 1.243.2.7 +17 -19 src/sys/kern/kern_descrip.c 1.64.2.2 +113 -0 src/sys/kern/vfs_lookup.c 1.356.2.3 +96 -115 src/sys/kern/vfs_syscalls.c 1.11.2.9 +15 -0 src/sys/sys/syscallsubr.h