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
John Baldwin
jhb at FreeBSD.org
Mon Feb 7 22:02:19 GMT 2005
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
More information about the cvs-src
mailing list