fix getrlimit handling on 32-bit systems, and ease porting to 64-bit
This commit is contained in:
parent
13a026bd79
commit
f7eb91e795
2 changed files with 5 additions and 3 deletions
|
|
@ -500,6 +500,8 @@ static inline long syscall6(long n, long a1, long a2, long a3, long a4, long a5,
|
|||
#define __NR_fstatat __NR_fstatat64
|
||||
#define __NR_pread __NR_pread64
|
||||
#define __NR_pwrite __NR_pwrite64
|
||||
#undef __NR_getrlimit
|
||||
#define __NR_getrlimit __NR_ugetrlimit
|
||||
|
||||
#define __SC_socket 1
|
||||
#define __SC_bind 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue