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/powerpc Pull up revision 1.16 via...



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

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

diffs (18 lines):

diff -r d124bc862202 -r a2e9b42985c4 sys/compat/linux/arch/powerpc/syscalls.master
--- a/sys/compat/linux/arch/powerpc/syscalls.master     Tue May 11 12:28:08 2004 +0000
+++ b/sys/compat/linux/arch/powerpc/syscalls.master     Tue May 11 14:30:27 2004 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.13.2.1 2003/10/22 04:03:01 jmc Exp $  
+       $NetBSD: syscalls.master,v 1.13.2.2 2004/05/11 14:30:27 tron Exp $  
 
 ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
 
@@ -357,7 +357,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