Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/compat/linux/arch/i386 Pull up revision 1.67 via pa...



details:   https://anonhg.NetBSD.org/src/rev/2a4c07e0539f
branches:  netbsd-1-6
changeset: 531337:2a4c07e0539f
user:      tron <tron%NetBSD.org@localhost>
date:      Tue May 11 14:30:38 2004 +0000

description:
Pull up revision 1.67 via patch (requested by wennmach in ticket #1686):
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.

diffstat:

 sys/compat/linux/arch/i386/syscalls.master |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9867ac0d4e0c -r 2a4c07e0539f sys/compat/linux/arch/i386/syscalls.master
--- a/sys/compat/linux/arch/i386/syscalls.master        Tue May 11 14:30:33 2004 +0000
+++ b/sys/compat/linux/arch/i386/syscalls.master        Tue May 11 14:30:38 2004 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.63.4.1 2003/10/22 04:03:00 jmc Exp $
+       $NetBSD: syscalls.master,v 1.63.4.2 2004/05/11 14:30:38 tron Exp $
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -329,7 +329,7 @@
                            linux_off_t offset); }
 193    STD             { int linux_sys_truncate64(const char *path, \
                            off_t length); }
-194    NOARGS          linux_ftruncate64 { int sys_ftruncate(int fd, \
+194    STD             { int linux_sys_ftruncate64(int fd, \
                            off_t length); }
 195    STD             { int linux_sys_stat64(const char *path, \
                            struct linux_stat64 *sp); }



Home | Main Index | Thread Index | Old Index