Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/10/2007 16:50:02
Module Name:	src
Committed By:	dsl
Date:		Sat Mar 10 16:50:02 UTC 2007

Modified Files:
	src/sys/kern: kern_descrip.c vfs_syscalls.c
	src/sys/sys: filedesc.h mount.h
Added Files:
	src/sys/sys: vfs_syscalls.h

Log Message:
Split the work for sys_stat, sys_lstat, sys_fstat and sys_fhstat out into
separate functions that don't do the copyout.
This allows all the compat_xxx versions to convert the 'struct stat' to
the correct format without using the 'stackgap'.
The stackgap isn't at all LWP friendly, and needs to be removed from
any compat functions that might involve threads (inc. clone()).
The code is still binary compatible with existing LKMs.


To generate a diff of this commit:
cvs rdiff -r1.152 -r1.153 src/sys/kern/kern_descrip.c
cvs rdiff -r1.305 -r1.306 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.36 -r1.37 src/sys/sys/filedesc.h
cvs rdiff -r1.154 -r1.155 src/sys/sys/mount.h
cvs rdiff -r0 -r1.1 src/sys/sys/vfs_syscalls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.