| .. | .. |
|---|
| 17 | 17 | |
|---|
| 18 | 18 | #include <uapi/asm/unistd.h> |
|---|
| 19 | 19 | |
|---|
| 20 | +#define NR_syscalls __NR_syscalls |
|---|
| 21 | + |
|---|
| 20 | 22 | #ifdef __32bit_syscall_numbers__ |
|---|
| 21 | 23 | #else |
|---|
| 22 | 24 | #define __NR_time 231 /* Linux sparc32 */ |
|---|
| 23 | 25 | #endif |
|---|
| 26 | +#define __ARCH_WANT_NEW_STAT |
|---|
| 24 | 27 | #define __ARCH_WANT_OLD_READDIR |
|---|
| 25 | 28 | #define __ARCH_WANT_STAT64 |
|---|
| 26 | 29 | #define __ARCH_WANT_SYS_ALARM |
|---|
| 27 | 30 | #define __ARCH_WANT_SYS_GETHOSTNAME |
|---|
| 28 | 31 | #define __ARCH_WANT_SYS_PAUSE |
|---|
| 29 | 32 | #define __ARCH_WANT_SYS_SIGNAL |
|---|
| 30 | | -#define __ARCH_WANT_SYS_TIME |
|---|
| 31 | | -#define __ARCH_WANT_SYS_UTIME |
|---|
| 33 | +#define __ARCH_WANT_SYS_TIME32 |
|---|
| 34 | +#define __ARCH_WANT_SYS_UTIME32 |
|---|
| 32 | 35 | #define __ARCH_WANT_SYS_WAITPID |
|---|
| 33 | 36 | #define __ARCH_WANT_SYS_SOCKETCALL |
|---|
| 34 | 37 | #define __ARCH_WANT_SYS_FADVISE64 |
|---|
| 35 | 38 | #define __ARCH_WANT_SYS_GETPGRP |
|---|
| 36 | | -#define __ARCH_WANT_SYS_LLSEEK |
|---|
| 37 | 39 | #define __ARCH_WANT_SYS_NICE |
|---|
| 38 | 40 | #define __ARCH_WANT_SYS_OLDUMOUNT |
|---|
| 39 | 41 | #define __ARCH_WANT_SYS_SIGPENDING |
|---|
| .. | .. |
|---|
| 41 | 43 | #ifdef __32bit_syscall_numbers__ |
|---|
| 42 | 44 | #define __ARCH_WANT_SYS_IPC |
|---|
| 43 | 45 | #else |
|---|
| 44 | | -#define __ARCH_WANT_COMPAT_SYS_TIME |
|---|
| 46 | +#define __ARCH_WANT_SYS_TIME |
|---|
| 47 | +#define __ARCH_WANT_SYS_UTIME |
|---|
| 45 | 48 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE |
|---|
| 46 | 49 | #endif |
|---|
| 47 | 50 | |
|---|
| 51 | +#ifdef __32bit_syscall_numbers__ |
|---|
| 52 | +/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants, |
|---|
| 53 | + * it never had the plain ones and there is no value to adding those |
|---|
| 54 | + * old versions into the syscall table. |
|---|
| 55 | + */ |
|---|
| 56 | +#define __IGNORE_setresuid |
|---|
| 57 | +#define __IGNORE_getresuid |
|---|
| 58 | +#define __IGNORE_setresgid |
|---|
| 59 | +#define __IGNORE_getresgid |
|---|
| 60 | +#endif |
|---|
| 61 | + |
|---|
| 48 | 62 | #endif /* _SPARC_UNISTD_H */ |
|---|