From db8eb180d92c9cfbe84097b34cb933e5be6ed49c Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 16 Apr 2012 22:58:28 +0000 Subject: [PATCH] Correct arguments of stat64, fstat64 and lstat64 syscalls for Linuxulator. --- sys/amd64/linux32/syscalls.master | 12 ++++++------ sys/i386/linux/syscalls.master | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master index 4b85bf06c92a..4101ba5d0252 100644 --- a/sys/amd64/linux32/syscalls.master +++ b/sys/amd64/linux32/syscalls.master @@ -351,12 +351,12 @@ l_loff_t length); } 194 AUE_FTRUNCATE STD { int linux_ftruncate64(l_uint fd, \ l_loff_t length); } -195 AUE_STAT STD { int linux_stat64(char *filename, \ - struct l_stat64 *statbuf, l_long flags); } -196 AUE_LSTAT STD { int linux_lstat64(char *filename, \ - struct l_stat64 *statbuf, l_long flags); } -197 AUE_FSTAT STD { int linux_fstat64(l_ulong fd, \ - struct l_stat64 *statbuf, l_long flags); } +195 AUE_STAT STD { int linux_stat64(const char *filename, \ + struct l_stat64 *statbuf); } +196 AUE_LSTAT STD { int linux_lstat64(const char *filename, \ + struct l_stat64 *statbuf); } +197 AUE_FSTAT STD { int linux_fstat64(l_int fd, \ + struct l_stat64 *statbuf); } 198 AUE_LCHOWN STD { int linux_lchown(char *path, l_uid_t uid, \ l_gid_t gid); } 199 AUE_GETUID STD { int linux_getuid(void); } diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index f4524341d5f5..d1830a509254 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -353,12 +353,12 @@ l_loff_t length); } 194 AUE_FTRUNCATE STD { int linux_ftruncate64(l_uint fd, \ l_loff_t length); } -195 AUE_STAT STD { int linux_stat64(char *filename, \ - struct l_stat64 *statbuf, l_long flags); } -196 AUE_LSTAT STD { int linux_lstat64(char *filename, \ - struct l_stat64 *statbuf, l_long flags); } -197 AUE_FSTAT STD { int linux_fstat64(l_ulong fd, \ - struct l_stat64 *statbuf, l_long flags); } +195 AUE_STAT STD { int linux_stat64(const char *filename, \ + struct l_stat64 *statbuf); } +196 AUE_LSTAT STD { int linux_lstat64(const char *filename, \ + struct l_stat64 *statbuf); } +197 AUE_FSTAT STD { int linux_fstat64(l_int fd, \ + struct l_stat64 *statbuf); } 198 AUE_LCHOWN STD { int linux_lchown(char *path, l_uid_t uid, \ l_gid_t gid); } 199 AUE_GETUID STD { int linux_getuid(void); }