@@ -544,15 +544,15 @@ def __init__(self, **kwargs):
544544# system. path is the pathname of any file within the mounted file
545545# system. buf is a pointer to a statfs structure defined
546546# approximately as follows:
547- statfs = EmulatedSyscall (x86 = 99 , x64 = 137 , generic = 43 , arg2 = "struct Arch::statfs " )
547+ statfs = EmulatedSyscall (x86 = 99 , x64 = 137 , generic = 43 , arg2 = "struct Arch::statfs_t " )
548548
549549# int fstatfs(int fd, struct statfs *buf)
550550#
551551# The function statfs() returns information about a mounted file
552552# system. path is the pathname of any file within the
553553# get_time(GET_TID(thread_id));mounted file system. buf is a pointer
554554# to a statfs structure defined approximately as follows:
555- fstatfs = EmulatedSyscall (x86 = 100 , x64 = 138 , generic = 44 , arg2 = "struct Arch::statfs " )
555+ fstatfs = EmulatedSyscall (x86 = 100 , x64 = 138 , generic = 44 , arg2 = "struct Arch::statfs_t " )
556556
557557ioperm = EmulatedSyscall (x86 = 101 , x64 = 173 )
558558
@@ -574,9 +574,9 @@ def __init__(self, **kwargs):
574574# stored there.
575575setitimer = EmulatedSyscall (x86 = 104 , x64 = 38 , generic = 103 , arg3 = "typename Arch::itimerval" )
576576getitimer = EmulatedSyscall (x86 = 105 , x64 = 36 , generic = 102 , arg2 = "typename Arch::itimerval" )
577- stat = EmulatedSyscall (x86 = 106 , x64 = 4 , arg2 = "struct Arch::stat " )
578- lstat = EmulatedSyscall (x86 = 107 , x64 = 6 , arg2 = "struct Arch::stat " )
579- fstat = EmulatedSyscall (x86 = 108 , x64 = 5 , generic = 80 , arg2 = "struct Arch::stat " )
577+ stat = EmulatedSyscall (x86 = 106 , x64 = 4 , arg2 = "struct Arch::stat_t " )
578+ lstat = EmulatedSyscall (x86 = 107 , x64 = 6 , arg2 = "struct Arch::stat_t " )
579+ fstat = EmulatedSyscall (x86 = 108 , x64 = 5 , generic = 80 , arg2 = "struct Arch::stat_t " )
580580olduname = UnsupportedSyscall (x86 = 109 )
581581iopl = EmulatedSyscall (x86 = 110 , x64 = 172 )
582582vhangup = UnsupportedSyscall (x86 = 111 , x64 = 153 , generic = 58 )
@@ -596,7 +596,7 @@ def __init__(self, **kwargs):
596596#
597597# sysinfo() provides a simple way of getting overall system
598598# statistics.
599- sysinfo = EmulatedSyscall (x86 = 116 , x64 = 99 , generic = 179 , arg1 = "struct Arch::sysinfo " )
599+ sysinfo = EmulatedSyscall (x86 = 116 , x64 = 99 , generic = 179 , arg1 = "struct Arch::sysinfo_t " )
600600# int ipc(unsigned int call, int first, int second, int third, void *ptr, long
601601#fifth);
602602#
@@ -992,20 +992,20 @@ def __init__(self, **kwargs):
992992# int stat(const char *path, struct stat *buf);
993993#
994994# stat() stats the file pointed to by path and fills in buf.
995- stat64 = EmulatedSyscall (x86 = 195 , arg2 = "struct Arch::stat64 " )
995+ stat64 = EmulatedSyscall (x86 = 195 , arg2 = "struct Arch::stat64_t " )
996996
997997# int lstat(const char *path, struct stat *buf);
998998#
999999# lstat() is identical to stat(), except that if path is a symbolic
10001000# link, then the link itself is stat-ed, not the file that it refers
10011001# to.
1002- lstat64 = EmulatedSyscall (x86 = 196 , arg2 = "struct Arch::stat64 " )
1002+ lstat64 = EmulatedSyscall (x86 = 196 , arg2 = "struct Arch::stat64_t " )
10031003
10041004# int fstat(int fd, struct stat *buf)
10051005#
10061006# fstat() is identical to stat(), except that the file to be stat-ed
10071007# is specified by the file descriptor fd.
1008- fstat64 = EmulatedSyscall (x86 = 197 , arg2 = "struct Arch::stat64 " )
1008+ fstat64 = EmulatedSyscall (x86 = 197 , arg2 = "struct Arch::stat64_t " )
10091009
10101010lchown32 = EmulatedSyscall (x86 = 198 )
10111011
@@ -1342,8 +1342,8 @@ def __init__(self, **kwargs):
13421342#
13431343# FIXME: we use arg3() here, although according to man pages this system
13441344# call has only 2 parameters. However, strace tells another story...
1345- statfs64 = EmulatedSyscall (x86 = 268 , arg3 = "struct Arch::statfs64 " )
1346- fstatfs64 = EmulatedSyscall (x86 = 269 , arg3 = "struct Arch::statfs64 " )
1345+ statfs64 = EmulatedSyscall (x86 = 268 , arg3 = "struct Arch::statfs64_t " )
1346+ fstatfs64 = EmulatedSyscall (x86 = 269 , arg3 = "struct Arch::statfs64_t " )
13471347
13481348# int tgkill(int tgid, int tid, int sig)
13491349#
@@ -1443,8 +1443,8 @@ def __init__(self, **kwargs):
14431443# The fstatat() system call operates in exactly the same way as
14441444# stat(2), except for the differences described in this manual
14451445# page....
1446- fstatat = EmulatedSyscall (x64 = 262 , generic = 79 , arg3 = "struct Arch::stat " )
1447- fstatat64 = EmulatedSyscall (x86 = 300 , arg3 = "struct Arch::stat64 " )
1446+ fstatat = EmulatedSyscall (x64 = 262 , generic = 79 , arg3 = "struct Arch::stat_t " )
1447+ fstatat64 = EmulatedSyscall (x86 = 300 , arg3 = "struct Arch::stat64_t " )
14481448
14491449# int unlinkat(int dirfd, const char *pathname, int flags)
14501450#
0 commit comments