Revision cb33da57 linux-user/sparc64/syscall_nr.h

b/linux-user/sparc64/syscall_nr.h
29 29
#define TARGET_NR_sigaltstack	 28 /* Common					   */
30 30
#define TARGET_NR_pause               29 /* Is sigblock(0)->sigpause() in SunOS         */
31 31
#define TARGET_NR_utime               30 /* Implemented via utimes() under SunOS        */
32
/* #define TARGET_NR_lchown32         31    Linux sparc32 specific                      */
33
/* #define TARGET_NR_fchown32         32    Linux sparc32 specific                      */
32
#define TARGET_NR_lchown32            31 /* Linux sparc32 specific                      */
33
#define TARGET_NR_fchown32            32 /* Linux sparc32 specific                      */
34 34
#define TARGET_NR_access              33 /* Common                                      */
35 35
#define TARGET_NR_nice                34 /* Implemented via get/setpriority() in SunOS  */
36
/* #define TARGET_NR_chown32          35    Linux sparc32 specific                      */
36
#define TARGET_NR_chown32             35 /*  Linux sparc32 specific                     */
37 37
#define TARGET_NR_sync                36 /* Common                                      */
38 38
#define TARGET_NR_kill                37 /* Common                                      */
39 39
#define TARGET_NR_stat                38 /* Common                                      */
......
42 42
#define TARGET_NR_dup                 41 /* Common                                      */
43 43
#define TARGET_NR_pipe                42 /* Common                                      */
44 44
#define TARGET_NR_times               43 /* Implemented via getrusage() in SunOS        */
45
/* #define TARGET_NR_getuid32         44    Linux sparc32 specific                      */
45
#define TARGET_NR_getuid32            44 /* Linux sparc32 specific                      */
46 46
#define TARGET_NR_umount2             45 /* Linux Specific                              */
47 47
#define TARGET_NR_setgid              46 /* Implemented via setregid() in SunOS         */
48 48
#define TARGET_NR_getgid              47 /* Common                                      */
......
51 51
#define TARGET_NR_getegid             50 /* SunOS calls getgid()                        */
52 52
#define TARGET_NR_acct                51 /* Common                                      */
53 53
#define TARGET_NR_memory_ordering	 52 /* Linux Specific				   */
54
/* #define TARGET_NR_getgid32         53    Linux sparc32 specific                      */
54
#define TARGET_NR_getgid32            53 /* Linux sparc32 specific                      */
55 55
#define TARGET_NR_ioctl               54 /* Common                                      */
56 56
#define TARGET_NR_reboot              55 /* Common                                      */
57
/* #define TARGET_NR_mmap2		 56    Linux sparc32 Specific                      */
57
#define TARGET_NR_mmap2		      56 /* Linux sparc32 Specific                      */
58 58
#define TARGET_NR_symlink             57 /* Common                                      */
59 59
#define TARGET_NR_readlink            58 /* Common                                      */
60 60
#define TARGET_NR_execve              59 /* Common                                      */
61 61
#define TARGET_NR_umask               60 /* Common                                      */
62 62
#define TARGET_NR_chroot              61 /* Common                                      */
63 63
#define TARGET_NR_fstat               62 /* Common                                      */
64
/* #define TARGET_NR_fstat64          63    Linux sparc32 Specific                      */
64
#define TARGET_NR_fstat64             63 /* Linux sparc32 Specific                      */
65 65
#define TARGET_NR_getpagesize         64 /* Common                                      */
66 66
#define TARGET_NR_msync               65 /* Common in newer 1.3.x revs...               */
67 67
#define TARGET_NR_vfork               66 /* Common                                      */
68 68
#define TARGET_NR_pread64             67 /* Linux Specific                              */
69 69
#define TARGET_NR_pwrite64            68 /* Linux Specific                              */
70
/* #define TARGET_NR_geteuid32        69    Linux sparc32, sbrk under SunOS             */
71
/* #define TARGET_NR_getegid32        70    Linux sparc32, sstk under SunOS             */
70
#define TARGET_NR_geteuid32           69 /* Linux sparc32, sbrk under SunOS             */
71
#define TARGET_NR_getegid32           70 /* Linux sparc32, sstk under SunOS             */
72 72
#define TARGET_NR_mmap                71 /* Common                                      */
73
/* #define TARGET_NR_setreuid32       72    Linux sparc32, vadvise under SunOS          */
73
#define TARGET_NR_setreuid32          72 /* Linux sparc32, vadvise under SunOS          */
74 74
#define TARGET_NR_munmap              73 /* Common                                      */
75 75
#define TARGET_NR_mprotect            74 /* Common                                      */
76 76
#define TARGET_NR_madvise             75 /* Common                                      */
77 77
#define TARGET_NR_vhangup             76 /* Common                                      */
78
/* #define TARGET_NR_truncate64       77    Linux sparc32 Specific			   */
78
#define TARGET_NR_truncate64          77 /* Linux sparc32 Specific			*/
79 79
#define TARGET_NR_mincore             78 /* Common                                      */
80 80
#define TARGET_NR_getgroups           79 /* Common                                      */
81 81
#define TARGET_NR_setgroups           80 /* Common                                      */
82 82
#define TARGET_NR_getpgrp             81 /* Common                                      */
83
/* #define TARGET_NR_setgroups32      82    Linux sparc32, setpgrp under SunOS          */
83
#define TARGET_NR_setgroups32         82 /* Linux sparc32, setpgrp under SunOS          */
84 84
#define TARGET_NR_setitimer           83 /* Common                                      */
85
/* #define TARGET_NR_ftruncate64      84    Linux sparc32 Specific			   */
85
#define TARGET_NR_ftruncate64         84 /* Linux sparc32 Specific                      */
86 86
#define TARGET_NR_swapon              85 /* Common                                      */
87 87
#define TARGET_NR_getitimer           86 /* Common                                      */
88
/* #define TARGET_NR_setuid32         87    Linux sparc32, gethostname under SunOS      */
88
#define TARGET_NR_setuid32            87 /* Linux sparc32, gethostname under SunOS      */
89 89
#define TARGET_NR_sethostname         88 /* Common                                      */
90
/* #define TARGET_NR_setgid32         89    Linux sparc32, getdtablesize under SunOS    */
90
#define TARGET_NR_setgid32            89 /* Linux sparc32, getdtablesize under SunOS    */
91 91
#define TARGET_NR_dup2                90 /* Common                                      */
92
/* #define TARGET_NR_setfsuid32       91    Linux sparc32, getdopt under SunOS          */
92
#define TARGET_NR_setfsuid32          91 /* Linux sparc32, getdopt under SunOS          */
93 93
#define TARGET_NR_fcntl               92 /* Common                                      */
94 94
#define TARGET_NR_select              93 /* Common                                      */
95
/* #define TARGET_NR_setfsgid32       94    Linux sparc32, setdopt under SunOS          */
95
#define TARGET_NR_setfsgid32          94 /* Linux sparc32, setdopt under SunOS          */
96 96
#define TARGET_NR_fsync               95 /* Common                                      */
97 97
#define TARGET_NR_setpriority         96 /* Common                                      */
98 98
#define TARGET_NR_socket              97 /* Common                                      */
......
110 110
#define TARGET_NR_getresuid          109 /* Linux Specific, sigblock under SunOS	   */
111 111
#define TARGET_NR_setresgid          110 /* Linux Specific, sigsetmask under SunOS	   */
112 112
#define TARGET_NR_getresgid          111 /* Linux Specific, sigpause under SunOS	   */
113
/* #define TARGET_NR_setregid32       75    Linux sparc32, sigstack under SunOS         */
113
/* #define TARGET_NR_setregid32          75  Linux sparc32, sigstack under SunOS         */
114 114
#define TARGET_NR_recvmsg            113 /* Common                                      */
115 115
#define TARGET_NR_sendmsg            114 /* Common                                      */
116
/* #define TARGET_NR_getgroups32     115    Linux sparc32, vtrace under SunOS           */
116
#define TARGET_NR_getgroups32        115 /* Linux sparc32, vtrace under SunOS           */
117 117
#define TARGET_NR_gettimeofday       116 /* Common                                      */
118 118
#define TARGET_NR_getrusage          117 /* Common                                      */
119 119
#define TARGET_NR_getsockopt         118 /* Common                                      */
......
130 130
#define TARGET_NR_truncate           129 /* Common                                      */
131 131
#define TARGET_NR_ftruncate          130 /* Common                                      */
132 132
#define TARGET_NR_flock              131 /* Common                                      */
133
/* #define TARGET_NR_lstat64		132    Linux sparc32 Specific                      */
133
#define TARGET_NR_lstat64	     132 /* Linux sparc32 Specific                      */
134 134
#define TARGET_NR_sendto             133 /* Common                                      */
135 135
#define TARGET_NR_shutdown           134 /* Common                                      */
136 136
#define TARGET_NR_socketpair         135 /* Common                                      */
137 137
#define TARGET_NR_mkdir              136 /* Common                                      */
138 138
#define TARGET_NR_rmdir              137 /* Common                                      */
139 139
#define TARGET_NR_utimes             138 /* SunOS Specific                              */
140
/* #define TARGET_NR_stat64		139    Linux sparc32 Specific			   */
140
#define TARGET_NR_stat64	     139 /* Linux sparc32 Specific			   */
141 141
#define TARGET_NR_sendfile64         140 /* adjtime under SunOS                         */
142 142
#define TARGET_NR_getpeername        141 /* Common                                      */
143 143
#define TARGET_NR_futex              142 /* gethostid under SunOS                       */
......
153 153
/* #define TARGET_NR_putmsg          152    SunOS Specific                              */
154 154
#define TARGET_NR_poll               153 /* Common                                      */
155 155
#define TARGET_NR_getdents64		154 /* Linux specific				   */
156
/* #define TARGET_NR_fcntl64         155    Linux sparc32 Specific                      */
156
#define TARGET_NR_fcntl64            155 /* Linux sparc32 Specific                      */
157 157
/* #define TARGET_NR_getdirentries   156    SunOS Specific                              */
158 158
#define TARGET_NR_statfs             157 /* Common                                      */
159 159
#define TARGET_NR_fstatfs            158 /* Common                                      */
......
229 229
#define TARGET_NR_setfsuid           228 /* Linux Specific                              */
230 230
#define TARGET_NR_setfsgid           229 /* Linux Specific                              */
231 231
#define TARGET_NR__newselect         230 /* Linux Specific                              */
232
#ifdef __KERNEL__
233
#define TARGET_NR_time		231 /* Linux sparc32                               */
234
#endif
232
#define TARGET_NR_time               231 /* Linux sparc32                               */
235 233
/* #define TARGET_NR_oldstat         232    Linux Specific                              */
236 234
#define TARGET_NR_stime              233 /* Linux Specific                              */
237 235
#define TARGET_NR_statfs64           234 /* Linux Specific                              */

Also available in: Unified diff