x32: fix decoding of __old_kernel_stat based syscalls
* file.c [X32] (struct __old_kernel_stat): Define. * linux/x32/syscallent1.h: Remove sys_old*stat redirections.
This commit is contained in:
parent
554e6f3240
commit
bd2e28ac51
14
file.c
14
file.c
@ -118,6 +118,20 @@ struct stat64 {
|
||||
unsigned long st_ctime_nsec;
|
||||
unsigned long long st_ino;
|
||||
};
|
||||
|
||||
struct __old_kernel_stat {
|
||||
unsigned short st_dev;
|
||||
unsigned short st_ino;
|
||||
unsigned short st_mode;
|
||||
unsigned short st_nlink;
|
||||
unsigned short st_uid;
|
||||
unsigned short st_gid;
|
||||
unsigned short st_rdev;
|
||||
unsigned int st_size;
|
||||
unsigned int st_atime;
|
||||
unsigned int st_mtime;
|
||||
unsigned int st_ctime;
|
||||
};
|
||||
#else
|
||||
# undef dev_t
|
||||
# undef ino_t
|
||||
|
@ -1,9 +1,5 @@
|
||||
/* Our second set comes from the i386 files.
|
||||
Only a couple of calls we cannot support without the i386 headers. */
|
||||
/* Our second set comes from the i386 files. */
|
||||
|
||||
#define sys_oldstat printargs
|
||||
#define sys_oldfstat printargs
|
||||
#define sys_oldlstat printargs
|
||||
#define sys_lstat64 sys_stat64
|
||||
#define sys_truncate64 sys_truncate
|
||||
#define sys_ftruncate64 sys_ftruncate
|
||||
|
Loading…
x
Reference in New Issue
Block a user