Subject: CVS commit: src/sys/compat/linux
To: None <source-changes@NetBSD.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 08/10/2003 20:16:28
Module Name:	src
Committed By:	jdolecek
Date:		Sun Aug 10 20:16:28 UTC 2003

Modified Files:
	src/sys/compat/linux/arch/arm: syscalls.master
	src/sys/compat/linux/arch/i386: syscalls.master
	src/sys/compat/linux/arch/m68k: syscalls.master
	src/sys/compat/linux/arch/mips: syscalls.master
	src/sys/compat/linux/arch/powerpc: syscalls.master
	src/sys/compat/linux/common: linux_file64.c

Log Message:
add Linux compat arg wrapper for ftruncate64(), and change linux compat
truncate64() wrapper to translate args structure
NetBSD truncate() and ftrucate() have hidden 'pad' argument, so we have
to do the argument translation

Problem found and patch supplied in PR kern/22360 by Ales Krenek

This is the last of syscalls with hidden 'pad' arg we didn't have
wrapper for; all the others (lseek, mmap, pwrite, pread) already had
wrapper before.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -r1.66 -r1.67 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -r1.42 -r1.43 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -r1.11 -r1.12 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -r1.15 -r1.16 src/sys/compat/linux/arch/powerpc/syscalls.master
cvs rdiff -r1.21 -r1.22 src/sys/compat/linux/common/linux_file64.c

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