From owner-cvs-src@FreeBSD.ORG Mon Feb 7 22:02:18 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E275416A4CE; Mon, 7 Feb 2005 22:02:18 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4D1E43D3F; Mon, 7 Feb 2005 22:02:18 +0000 (GMT) (envelope-from jhb@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 j17M2ILq046763; Mon, 7 Feb 2005 22:02:18 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j17M2IQQ046762; Mon, 7 Feb 2005 22:02:18 GMT (envelope-from jhb) Message-Id: <200502072202.j17M2IQQ046762@repoman.freebsd.org> From: John Baldwin Date: Mon, 7 Feb 2005 22:02:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_fcntl.c ibcs2_misc.c ibcs2_msg.c ibcs2_other.c ibcs2_stat.c ibcs2_util.c ibcs2_util.h ibcs2_xenix.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 22:02:19 -0000 jhb 2005-02-07 22:02:18 UTC FreeBSD src repository Modified files: sys/i386/ibcs2 ibcs2_fcntl.c ibcs2_misc.c ibcs2_msg.c ibcs2_other.c ibcs2_stat.c ibcs2_util.c ibcs2_util.h ibcs2_xenix.c Log: - Implement ibcs2_emul_find() using kern_alternate_path(). This changes the semantics in that the returned filename to use is now a kernel pointer rather than a user space pointer. This required changing the arguments to the CHECKALT*() macros some and changing the various system calls that used pathnames to use the kern_foo() functions that can accept kernel space filename pointers instead of calling the system call directly. - Use kern_open(), kern_access(), kern_execve(), kern_mkfifo(), kern_mknod(), kern_setitimer(), kern_getrusage(), kern_utimes(), kern_unlink(), kern_chdir(), kern_chmod(), kern_chown(), kern_symlink(), kern_readlink(), kern_select(), kern_statfs(), kern_fstatfs(), kern_stat(), kern_lstat(), kern_fstat(). - Drop the unused 'uap' argument from spx_open(). - Replace a stale duplication of vn_access() in xenix_access() lacking recent additions such as MAC checks, etc. with a call to kern_access(). Revision Changes Path 1.28 +30 -26 src/sys/i386/ibcs2/ibcs2_fcntl.c 1.59 +159 -111 src/sys/i386/ibcs2/ibcs2_misc.c 1.11 +12 -16 src/sys/i386/ibcs2/ibcs2_msg.c 1.17 +1 -1 src/sys/i386/ibcs2/ibcs2_other.c 1.26 +31 -60 src/sys/i386/ibcs2/ibcs2_stat.c 1.19 +5 -127 src/sys/i386/ibcs2/ibcs2_util.c 1.19 +13 -7 src/sys/i386/ibcs2/ibcs2_util.h 1.34 +17 -28 src/sys/i386/ibcs2/ibcs2_xenix.c