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/arm Pull up revision 1.15 via pat...



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

description:
Pull up revision 1.15 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/arm/syscalls.master |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bd44ba419eb7 -r b38607dbff57 sys/compat/linux/arch/arm/syscalls.master
--- a/sys/compat/linux/arch/arm/syscalls.master Tue May 11 14:30:50 2004 +0000
+++ b/sys/compat/linux/arch/arm/syscalls.master Tue May 11 14:30:57 2004 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.11.4.2 2003/11/20 04:21:35 jmc Exp $
+       $NetBSD: syscalls.master,v 1.11.4.3 2004/05/11 14:30:57 tron Exp $
 
 ; Derived from sys/compat/linux/arch/*/syscalls.master
 ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@@ -331,7 +331,7 @@
                            linux_off_t offset); }
 193    STD             { int linux_sys_truncate64(const char *path, \
                                off_t length); }
-194    NOARGS          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