| OLD | NEW |
| 1 #define __SYSCALL_LL_E(x) \ | 1 #define __SYSCALL_LL_E(x) \ |
| 2 ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ | 2 ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ |
| 3 ((union { long long ll; long l[2]; }){ .ll = x }).l[1] | 3 ((union { long long ll; long l[2]; }){ .ll = x }).l[1] |
| 4 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) | 4 #define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x)) |
| 5 | 5 |
| 6 __attribute__((visibility("hidden"))) | 6 __attribute__((visibility("hidden"))) |
| 7 long (__syscall)(long, ...); | 7 long (__syscall)(long, ...); |
| 8 | 8 |
| 9 #define SYSCALL_RLIM_INFINITY (-1UL/2) | 9 #define SYSCALL_RLIM_INFINITY (-1UL/2) |
| 10 | 10 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 } | 154 } |
| 155 | 155 |
| 156 static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
ng f) | 156 static inline long __syscall6(long n, long a, long b, long c, long d, long e, lo
ng f) |
| 157 { | 157 { |
| 158 long r2 = (__syscall)(n, a, b, c, d, e, f); | 158 long r2 = (__syscall)(n, a, b, c, d, e, f); |
| 159 if (r2 > -4096UL) return r2; | 159 if (r2 > -4096UL) return r2; |
| 160 if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix(
b); | 160 if (n == SYS_stat64 || n == SYS_fstat64 || n == SYS_lstat64) __stat_fix(
b); |
| 161 if (n == SYS_fstatat) __stat_fix(c); | 161 if (n == SYS_fstatat) __stat_fix(c); |
| 162 return r2; | 162 return r2; |
| 163 } | 163 } |
| 164 |
| 165 #define VDSO_USEFUL |
| 166 #define VDSO_CGT_SYM "__vdso_clock_gettime" |
| 167 #define VDSO_CGT_VER "LINUX_2.6" |
| OLD | NEW |