From ac1ce77a23b4f4eecb6768f118259499308fce1c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 23 Aug 2011 13:24:17 +0200 Subject: [PATCH] Stop using nargs == -1 in syscallent tables Usage -1 as argument count in syscallent tables necessitates the check for it, a-la: if (sysent[tcp->scno].nargs != -1) tcp->u_nargs = sysent[tcp->scno].nargs; else tcp->u_nargs = MAX_ARGS; which is stupid: we waste cycles checking something which is constant and known at compile time. * defs.h: Make struct sysent::nargs unsigned. * freebsd/i386/syscallent.h: Replace nargs of -1 with MA. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * svr4/syscallent.h: Likewise. * freebsd/syscalls.pl: Likewise in generator script. * syscallent.sh: Likewise in generator script. * syscall.c: Add define MA MAX_ARGS / undef MA around includes of syscallent[N].h. Signed-off-by: Denys Vlasenko --- defs.h | 2 +- freebsd/i386/syscallent.h | 188 ++--- freebsd/syscalls.pl | 2 +- linux/s390/syscallent.h | 48 +- linux/s390x/syscallent.h | 104 +-- svr4/syscallent.h | 1495 +++++++++++++++++++------------------ syscall.c | 2 + syscallent.sh | 6 +- 8 files changed, 925 insertions(+), 922 deletions(-) diff --git a/defs.h b/defs.h index 97dbf6aa..974f737d 100644 --- a/defs.h +++ b/defs.h @@ -705,7 +705,7 @@ extern int current_personality; extern const int personality_wordsize[]; struct sysent { - int nargs; + unsigned nargs; int sys_flags; int (*sys_func)(); const char *sys_name; diff --git a/freebsd/i386/syscallent.h b/freebsd/i386/syscallent.h index b801b03e..025b7ed0 100644 --- a/freebsd/i386/syscallent.h +++ b/freebsd/i386/syscallent.h @@ -13,7 +13,7 @@ { 2, TD|TF, sys_creat, "creat?" }, /* 8 */ { 2, TF, sys_link, "link" }, /* 9 */ { 1, TF, sys_unlink, "unlink" }, /* 10 */ - { -1, 0, printargs, "SYS_11" }, /* 11 */ + { MA, 0, printargs, "SYS_11" }, /* 11 */ { 1, TF, sys_chdir, "chdir" }, /* 12 */ { 1, TF, sys_fchdir, "fchdir" }, /* 13 */ { 3, TF, sys_mknod, "mknod" }, /* 14 */ @@ -69,8 +69,8 @@ { 1, 0, sys_getpagesize, "getpagesize?" }, /* 64 */ { 3, 0, sys_msync, "msync" }, /* 65 */ { 1, TP, sys_vfork, "vfork" }, /* 66 */ - { -1, 0, printargs, "SYS_67" }, /* 67 */ - { -1, 0, printargs, "SYS_68" }, /* 68 */ + { MA, 0, printargs, "SYS_67" }, /* 67 */ + { MA, 0, printargs, "SYS_68" }, /* 68 */ { 1, 0, sys_sbrk, "sbrk" }, /* 69 */ { 1, 0, sys_sstk, "sstk" }, /* 70 */ { 6, 0, sys_mmap, "mmap?" }, /* 71 */ @@ -78,8 +78,8 @@ { 2, 0, sys_munmap, "munmap" }, /* 73 */ { 3, 0, sys_mprotect, "mprotect" }, /* 74 */ { 3, 0, sys_madvise, "madvise" }, /* 75 */ - { -1, 0, printargs, "SYS_76" }, /* 76 */ - { -1, 0, printargs, "SYS_77" }, /* 77 */ + { MA, 0, printargs, "SYS_76" }, /* 76 */ + { MA, 0, printargs, "SYS_77" }, /* 77 */ { 3, 0, sys_mincore, "mincore" }, /* 78 */ { 2, 0, sys_getgroups, "getgroups" }, /* 79 */ { 2, 0, sys_setgroups, "setgroups" }, /* 80 */ @@ -93,10 +93,10 @@ { 2, 0, sys_sethostname, "sethostname?" }, /* 88 */ { 1, 0, sys_getdtablesize, "getdtablesize" }, /* 89 */ { 2, TD, sys_dup2, "dup2" }, /* 90 */ - { -1, 0, printargs, "SYS_91" }, /* 91 */ + { MA, 0, printargs, "SYS_91" }, /* 91 */ { 3, TD, sys_fcntl, "fcntl" }, /* 92 */ { 5, TD, sys_select, "select" }, /* 93 */ - { -1, 0, printargs, "SYS_94" }, /* 94 */ + { MA, 0, printargs, "SYS_94" }, /* 94 */ { 1, TD, sys_fsync, "fsync" }, /* 95 */ { 3, 0, sys_setpriority, "setpriority" }, /* 96 */ { 3, TN, sys_socket, "socket" }, /* 97 */ @@ -109,7 +109,7 @@ { 3, TN, sys_bind, "bind" }, /* 104 */ { 5, TN, sys_setsockopt, "setsockopt" }, /* 105 */ { 2, TN, sys_listen, "listen" }, /* 106 */ - { -1, 0, printargs, "SYS_107" }, /* 107 */ + { MA, 0, printargs, "SYS_107" }, /* 107 */ { 3, TS, sys_sigvec, "sigvec?" }, /* 108 */ { 1, TS, sys_sigblock, "sigblock?" }, /* 109 */ { 1, TS, sys_sigsetmask, "sigsetmask?" }, /* 110 */ @@ -117,11 +117,11 @@ { 2, TS, sys_sigstack, "sigstack?" }, /* 112 */ { 3, TN, sys_recvmsg, "recvmsg?" }, /* 113 */ { 3, TN, sys_sendmsg, "sendmsg?" }, /* 114 */ - { -1, 0, printargs, "SYS_115" }, /* 115 */ + { MA, 0, printargs, "SYS_115" }, /* 115 */ { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 116 */ { 2, 0, sys_getrusage, "getrusage" }, /* 117 */ { 5, TN, sys_getsockopt, "getsockopt" }, /* 118 */ - { -1, 0, printargs, "SYS_119" }, /* 119 */ + { MA, 0, printargs, "SYS_119" }, /* 119 */ { 3, TD, sys_readv, "readv" }, /* 120 */ { 3, TD, sys_writev, "writev" }, /* 121 */ { 2, 0, sys_settimeofday, "settimeofday" }, /* 122 */ @@ -141,7 +141,7 @@ { 2, TF, sys_mkdir, "mkdir" }, /* 136 */ { 1, TF, sys_rmdir, "rmdir" }, /* 137 */ { 2, TF, sys_utimes, "utimes" }, /* 138 */ - { -1, 0, printargs, "SYS_139" }, /* 139 */ + { MA, 0, printargs, "SYS_139" }, /* 139 */ { 2, 0, sys_adjtime, "adjtime" }, /* 140 */ { 3, TN, sys_getpeername, "getpeername?" }, /* 141 */ { 1, 0, sys_gethostid, "gethostid?" }, /* 142 */ @@ -153,49 +153,49 @@ { 4, 0, sys_quotactl, "quotactl" }, /* 148 */ { 1, 0, sys_quota, "quota?" }, /* 149 */ { 3, TN, sys_getsockname, "getsockname" }, /* 150 */ - { -1, 0, printargs, "SYS_151" }, /* 151 */ - { -1, 0, printargs, "SYS_152" }, /* 152 */ - { -1, 0, printargs, "SYS_153" }, /* 153 */ - { -1, 0, printargs, "SYS_154" }, /* 154 */ + { MA, 0, printargs, "SYS_151" }, /* 151 */ + { MA, 0, printargs, "SYS_152" }, /* 152 */ + { MA, 0, printargs, "SYS_153" }, /* 153 */ + { MA, 0, printargs, "SYS_154" }, /* 154 */ { 2, 0, sys_nfssvc, "nfssvc" }, /* 155 */ { 4, 0, sys_getdirentries, "getdirentries?" }, /* 156 */ { 2, TF, sys_statfs, "statfs" }, /* 157 */ { 2, TD, sys_fstatfs, "fstatfs" }, /* 158 */ - { -1, 0, printargs, "SYS_159" }, /* 159 */ - { -1, 0, printargs, "SYS_160" }, /* 160 */ + { MA, 0, printargs, "SYS_159" }, /* 159 */ + { MA, 0, printargs, "SYS_160" }, /* 160 */ { 2, 0, sys_getfh, "getfh" }, /* 161 */ { 2, 0, sys_getdomainname, "getdomainname" }, /* 162 */ { 2, 0, sys_setdomainname, "setdomainname" }, /* 163 */ { 1, 0, sys_uname, "uname" }, /* 164 */ { 2, 0, sys_sysarch, "sysarch" }, /* 165 */ { 3, 0, sys_rtprio, "rtprio" }, /* 166 */ - { -1, 0, printargs, "SYS_167" }, /* 167 */ - { -1, 0, printargs, "SYS_168" }, /* 168 */ + { MA, 0, printargs, "SYS_167" }, /* 167 */ + { MA, 0, printargs, "SYS_168" }, /* 168 */ { 5, TI, sys_semsys, "semsys" }, /* 169 */ { 6, TI, sys_msgsys, "msgsys" }, /* 170 */ { 4, TI, sys_shmsys, "shmsys" }, /* 171 */ - { -1, 0, printargs, "SYS_172" }, /* 172 */ + { MA, 0, printargs, "SYS_172" }, /* 172 */ { 5, TD, sys_pread, "pread" }, /* 173 */ { 5, TD, sys_pwrite, "pwrite" }, /* 174 */ - { -1, 0, printargs, "SYS_175" }, /* 175 */ + { MA, 0, printargs, "SYS_175" }, /* 175 */ { 1, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 176 */ - { -1, 0, printargs, "SYS_177" }, /* 177 */ - { -1, 0, printargs, "SYS_178" }, /* 178 */ - { -1, 0, printargs, "SYS_179" }, /* 179 */ - { -1, 0, printargs, "SYS_180" }, /* 180 */ + { MA, 0, printargs, "SYS_177" }, /* 177 */ + { MA, 0, printargs, "SYS_178" }, /* 178 */ + { MA, 0, printargs, "SYS_179" }, /* 179 */ + { MA, 0, printargs, "SYS_180" }, /* 180 */ { 1, 0, sys_setgid, "setgid" }, /* 181 */ { 1, 0, sys_setegid, "setegid" }, /* 182 */ { 1, 0, sys_seteuid, "seteuid" }, /* 183 */ - { -1, 0, printargs, "SYS_184" }, /* 184 */ - { -1, 0, printargs, "SYS_185" }, /* 185 */ - { -1, 0, printargs, "SYS_186" }, /* 186 */ - { -1, 0, printargs, "SYS_187" }, /* 187 */ + { MA, 0, printargs, "SYS_184" }, /* 184 */ + { MA, 0, printargs, "SYS_185" }, /* 185 */ + { MA, 0, printargs, "SYS_186" }, /* 186 */ + { MA, 0, printargs, "SYS_187" }, /* 187 */ { 2, TF, sys_stat, "stat" }, /* 188 */ { 2, TD, sys_fstat, "fstat" }, /* 189 */ { 2, TF, sys_lstat, "lstat" }, /* 190 */ { 2, TF, sys_pathconf, "pathconf" }, /* 191 */ { 2, 0, sys_fpathconf, "fpathconf" }, /* 192 */ - { -1, 0, printargs, "SYS_193" }, /* 193 */ + { MA, 0, printargs, "SYS_193" }, /* 193 */ { 2, 0, sys_getrlimit, "getrlimit" }, /* 194 */ { 2, 0, sys_setrlimit, "setrlimit" }, /* 195 */ { 4, 0, sys_getdirentries, "getdirentries" }, /* 196 */ @@ -210,22 +210,22 @@ { 1, 0, sys_undelete, "undelete" }, /* 205 */ { 2, 0, sys_futimes, "futimes" }, /* 206 */ { 1, 0, sys_getpgid, "getpgid" }, /* 207 */ - { -1, 0, printargs, "SYS_208" }, /* 208 */ + { MA, 0, printargs, "SYS_208" }, /* 208 */ { 3, TN, sys_poll, "poll" }, /* 209 */ - { -1, 0, printargs, "SYS_210" }, /* 210 */ - { -1, 0, printargs, "SYS_211" }, /* 211 */ - { -1, 0, printargs, "SYS_212" }, /* 212 */ - { -1, 0, printargs, "SYS_213" }, /* 213 */ - { -1, 0, printargs, "SYS_214" }, /* 214 */ - { -1, 0, printargs, "SYS_215" }, /* 215 */ - { -1, 0, printargs, "SYS_216" }, /* 216 */ - { -1, 0, printargs, "SYS_217" }, /* 217 */ - { -1, 0, printargs, "SYS_218" }, /* 218 */ - { -1, 0, printargs, "SYS_219" }, /* 219 */ + { MA, 0, printargs, "SYS_210" }, /* 210 */ + { MA, 0, printargs, "SYS_211" }, /* 211 */ + { MA, 0, printargs, "SYS_212" }, /* 212 */ + { MA, 0, printargs, "SYS_213" }, /* 213 */ + { MA, 0, printargs, "SYS_214" }, /* 214 */ + { MA, 0, printargs, "SYS_215" }, /* 215 */ + { MA, 0, printargs, "SYS_216" }, /* 216 */ + { MA, 0, printargs, "SYS_217" }, /* 217 */ + { MA, 0, printargs, "SYS_218" }, /* 218 */ + { MA, 0, printargs, "SYS_219" }, /* 219 */ { 4, 0, sys___semctl, "__semctl" }, /* 220 */ { 3, TI, sys_semget, "semget" }, /* 221 */ { 3, TI, sys_semop, "semop" }, /* 222 */ - { -1, 0, printargs, "SYS_223" }, /* 223 */ + { MA, 0, printargs, "SYS_223" }, /* 223 */ { 3, TI, sys_msgctl, "msgctl" }, /* 224 */ { 2, TI, sys_msgget, "msgget" }, /* 225 */ { 4, TI, sys_msgsnd, "msgsnd" }, /* 226 */ @@ -237,45 +237,45 @@ { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 232 */ { 2, 0, sys_clock_settime, "clock_settime" }, /* 233 */ { 2, 0, sys_clock_getres, "clock_getres" }, /* 234 */ - { -1, 0, printargs, "SYS_235" }, /* 235 */ - { -1, 0, printargs, "SYS_236" }, /* 236 */ - { -1, 0, printargs, "SYS_237" }, /* 237 */ - { -1, 0, printargs, "SYS_238" }, /* 238 */ - { -1, 0, printargs, "SYS_239" }, /* 239 */ + { MA, 0, printargs, "SYS_235" }, /* 235 */ + { MA, 0, printargs, "SYS_236" }, /* 236 */ + { MA, 0, printargs, "SYS_237" }, /* 237 */ + { MA, 0, printargs, "SYS_238" }, /* 238 */ + { MA, 0, printargs, "SYS_239" }, /* 239 */ { 2, 0, sys_nanosleep, "nanosleep" }, /* 240 */ - { -1, 0, printargs, "SYS_241" }, /* 241 */ - { -1, 0, printargs, "SYS_242" }, /* 242 */ - { -1, 0, printargs, "SYS_243" }, /* 243 */ - { -1, 0, printargs, "SYS_244" }, /* 244 */ - { -1, 0, printargs, "SYS_245" }, /* 245 */ - { -1, 0, printargs, "SYS_246" }, /* 246 */ - { -1, 0, printargs, "SYS_247" }, /* 247 */ - { -1, 0, printargs, "SYS_248" }, /* 248 */ - { -1, 0, printargs, "SYS_249" }, /* 249 */ + { MA, 0, printargs, "SYS_241" }, /* 241 */ + { MA, 0, printargs, "SYS_242" }, /* 242 */ + { MA, 0, printargs, "SYS_243" }, /* 243 */ + { MA, 0, printargs, "SYS_244" }, /* 244 */ + { MA, 0, printargs, "SYS_245" }, /* 245 */ + { MA, 0, printargs, "SYS_246" }, /* 246 */ + { MA, 0, printargs, "SYS_247" }, /* 247 */ + { MA, 0, printargs, "SYS_248" }, /* 248 */ + { MA, 0, printargs, "SYS_249" }, /* 249 */ { 3, 0, sys_minherit, "minherit" }, /* 250 */ { 1, 0, sys_rfork, "rfork" }, /* 251 */ { 3, 0, sys_openbsd_poll, "openbsd_poll" }, /* 252 */ { 1, 0, sys_issetugid, "issetugid" }, /* 253 */ { 3, TF, sys_lchown, "lchown" }, /* 254 */ - { -1, 0, printargs, "SYS_255" }, /* 255 */ - { -1, 0, printargs, "SYS_256" }, /* 256 */ - { -1, 0, printargs, "SYS_257" }, /* 257 */ - { -1, 0, printargs, "SYS_258" }, /* 258 */ - { -1, 0, printargs, "SYS_259" }, /* 259 */ - { -1, 0, printargs, "SYS_260" }, /* 260 */ - { -1, 0, printargs, "SYS_261" }, /* 261 */ - { -1, 0, printargs, "SYS_262" }, /* 262 */ - { -1, 0, printargs, "SYS_263" }, /* 263 */ - { -1, 0, printargs, "SYS_264" }, /* 264 */ - { -1, 0, printargs, "SYS_265" }, /* 265 */ - { -1, 0, printargs, "SYS_266" }, /* 266 */ - { -1, 0, printargs, "SYS_267" }, /* 267 */ - { -1, 0, printargs, "SYS_268" }, /* 268 */ - { -1, 0, printargs, "SYS_269" }, /* 269 */ - { -1, 0, printargs, "SYS_270" }, /* 270 */ - { -1, 0, printargs, "SYS_271" }, /* 271 */ + { MA, 0, printargs, "SYS_255" }, /* 255 */ + { MA, 0, printargs, "SYS_256" }, /* 256 */ + { MA, 0, printargs, "SYS_257" }, /* 257 */ + { MA, 0, printargs, "SYS_258" }, /* 258 */ + { MA, 0, printargs, "SYS_259" }, /* 259 */ + { MA, 0, printargs, "SYS_260" }, /* 260 */ + { MA, 0, printargs, "SYS_261" }, /* 261 */ + { MA, 0, printargs, "SYS_262" }, /* 262 */ + { MA, 0, printargs, "SYS_263" }, /* 263 */ + { MA, 0, printargs, "SYS_264" }, /* 264 */ + { MA, 0, printargs, "SYS_265" }, /* 265 */ + { MA, 0, printargs, "SYS_266" }, /* 266 */ + { MA, 0, printargs, "SYS_267" }, /* 267 */ + { MA, 0, printargs, "SYS_268" }, /* 268 */ + { MA, 0, printargs, "SYS_269" }, /* 269 */ + { MA, 0, printargs, "SYS_270" }, /* 270 */ + { MA, 0, printargs, "SYS_271" }, /* 271 */ { 3, TD, sys_getdents, "getdents" }, /* 272 */ - { -1, 0, printargs, "SYS_273" }, /* 273 */ + { MA, 0, printargs, "SYS_273" }, /* 273 */ { 2, 0, sys_lchmod, "lchmod" }, /* 274 */ { 3, 0, sys_netbsd_lchown, "netbsd_lchown" }, /* 275 */ { 2, 0, sys_lutimes, "lutimes" }, /* 276 */ @@ -283,22 +283,22 @@ { 2, 0, sys_nstat, "nstat" }, /* 278 */ { 2, 0, sys_nfstat, "nfstat" }, /* 279 */ { 2, 0, sys_nlstat, "nlstat" }, /* 280 */ - { -1, 0, printargs, "SYS_281" }, /* 281 */ - { -1, 0, printargs, "SYS_282" }, /* 282 */ - { -1, 0, printargs, "SYS_283" }, /* 283 */ - { -1, 0, printargs, "SYS_284" }, /* 284 */ - { -1, 0, printargs, "SYS_285" }, /* 285 */ - { -1, 0, printargs, "SYS_286" }, /* 286 */ - { -1, 0, printargs, "SYS_287" }, /* 287 */ - { -1, 0, printargs, "SYS_288" }, /* 288 */ - { -1, 0, printargs, "SYS_289" }, /* 289 */ - { -1, 0, printargs, "SYS_290" }, /* 290 */ - { -1, 0, printargs, "SYS_291" }, /* 291 */ - { -1, 0, printargs, "SYS_292" }, /* 292 */ - { -1, 0, printargs, "SYS_293" }, /* 293 */ - { -1, 0, printargs, "SYS_294" }, /* 294 */ - { -1, 0, printargs, "SYS_295" }, /* 295 */ - { -1, 0, printargs, "SYS_296" }, /* 296 */ + { MA, 0, printargs, "SYS_281" }, /* 281 */ + { MA, 0, printargs, "SYS_282" }, /* 282 */ + { MA, 0, printargs, "SYS_283" }, /* 283 */ + { MA, 0, printargs, "SYS_284" }, /* 284 */ + { MA, 0, printargs, "SYS_285" }, /* 285 */ + { MA, 0, printargs, "SYS_286" }, /* 286 */ + { MA, 0, printargs, "SYS_287" }, /* 287 */ + { MA, 0, printargs, "SYS_288" }, /* 288 */ + { MA, 0, printargs, "SYS_289" }, /* 289 */ + { MA, 0, printargs, "SYS_290" }, /* 290 */ + { MA, 0, printargs, "SYS_291" }, /* 291 */ + { MA, 0, printargs, "SYS_292" }, /* 292 */ + { MA, 0, printargs, "SYS_293" }, /* 293 */ + { MA, 0, printargs, "SYS_294" }, /* 294 */ + { MA, 0, printargs, "SYS_295" }, /* 295 */ + { MA, 0, printargs, "SYS_296" }, /* 296 */ { 2, 0, sys_fhstatfs, "fhstatfs" }, /* 297 */ { 2, 0, sys_fhopen, "fhopen" }, /* 298 */ { 2, 0, sys_fhstat, "fhstat" }, /* 299 */ @@ -315,7 +315,7 @@ { 1, 0, sys_getsid, "getsid" }, /* 310 */ { 3, 0, sys_setresuid, "setresuid" }, /* 311 */ { 3, 0, sys_setresgid, "setresgid" }, /* 312 */ - { -1, 0, printargs, "SYS_313" }, /* 313 */ + { MA, 0, printargs, "SYS_313" }, /* 313 */ { 1, 0, sys_aio_return, "aio_return" }, /* 314 */ { 3, 0, sys_aio_suspend, "aio_suspend" }, /* 315 */ { 2, 0, sys_aio_cancel, "aio_cancel" }, /* 316 */ @@ -341,14 +341,14 @@ { 8, TD|TN, sys_sendfile, "sendfile" }, /* 336 */ { 3, 0, sys_kldsym, "kldsym" }, /* 337 */ { 1, 0, sys_jail, "jail" }, /* 338 */ - { -1, 0, printargs, "SYS_339" }, /* 339 */ + { MA, 0, printargs, "SYS_339" }, /* 339 */ { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 340 */ { 1, TS, sys_sigsuspend, "sigsuspend" }, /* 341 */ { 3, TS, sys_sigaction, "sigaction" }, /* 342 */ { 1, TS, sys_sigpending, "sigpending" }, /* 343 */ { 1, TS, sys_sigreturn, "sigreturn" }, /* 344 */ - { -1, 0, printargs, "SYS_345" }, /* 345 */ - { -1, 0, printargs, "SYS_346" }, /* 346 */ + { MA, 0, printargs, "SYS_345" }, /* 345 */ + { MA, 0, printargs, "SYS_346" }, /* 346 */ { 3, 0, sys___acl_get_file, "__acl_get_file" }, /* 347 */ { 3, 0, sys___acl_set_file, "__acl_set_file" }, /* 348 */ { 3, 0, sys___acl_get_fd, "__acl_get_fd" }, /* 349 */ diff --git a/freebsd/syscalls.pl b/freebsd/syscalls.pl index 2a1827cc..4b828ae0 100644 --- a/freebsd/syscalls.pl +++ b/freebsd/syscalls.pl @@ -122,7 +122,7 @@ while () { if ($1 > $sysnum) { # syscall gap while($sysnum < $1) { - print " { -1,\t0,\tprintargs,\t\"SYS_$sysnum\"\t}, /* $sysnum */\n"; + print " { MA,\t0,\tprintargs,\t\"SYS_$sysnum\"\t}, /* $sysnum */\n"; $sysnum++; } } elsif ($1 < $sysnum) { diff --git a/linux/s390/syscallent.h b/linux/s390/syscallent.h index 9886d3b5..91787fad 100644 --- a/linux/s390/syscallent.h +++ b/linux/s390/syscallent.h @@ -45,8 +45,8 @@ { 3, TF, sys_mknod, "mknod" }, /* 14 */ { 2, TF, sys_chmod, "chmod" }, /* 15 */ { 3, TF, sys_chown, "lchown" }, /* 16 */ - { -1, 0, printargs, "SYS_17" }, /* 17 */ - { -1, 0, printargs, "SYS_18" }, /* 18 */ + { MA, 0, printargs, "SYS_17" }, /* 17 */ + { MA, 0, printargs, "SYS_18" }, /* 18 */ { 3, TD, sys_lseek, "lseek" }, /* 19 */ { 0, 0, sys_getpid, "getpid" }, /* 20 */ { 5, TF, sys_mount, "mount" }, /* 21 */ @@ -56,14 +56,14 @@ { 1, 0, sys_stime, "stime" }, /* 25 */ { 4, 0, sys_ptrace, "ptrace" }, /* 26 */ { 1, 0, sys_alarm, "alarm" }, /* 27 */ - { -1, 0, printargs, "SYS_28" }, /* 28 */ + { MA, 0, printargs, "SYS_28" }, /* 28 */ { 0, TS, sys_pause, "pause" }, /* 29 */ { 2, TF, sys_utime, "utime" }, /* 30 */ - { -1, 0, printargs, "SYS_31" }, /* 31 */ - { -1, 0, printargs, "SYS_32" }, /* 32 */ + { MA, 0, printargs, "SYS_31" }, /* 31 */ + { MA, 0, printargs, "SYS_32" }, /* 32 */ { 2, TF, sys_access, "access" }, /* 33 */ { 1, 0, sys_nice, "nice" }, /* 34 */ - { -1, 0, printargs, "SYS_35" }, /* 35 */ + { MA, 0, printargs, "SYS_35" }, /* 35 */ { 0, 0, sys_sync, "sync" }, /* 36 */ { 2, TS, sys_kill, "kill" }, /* 37 */ { 2, TF, sys_rename, "rename" }, /* 38 */ @@ -72,22 +72,22 @@ { 1, TD, sys_dup, "dup" }, /* 41 */ { 1, TD, sys_pipe, "pipe" }, /* 42 */ { 1, 0, sys_times, "times" }, /* 43 */ - { -1, 0, printargs, "SYS_44" }, /* 44 */ + { MA, 0, printargs, "SYS_44" }, /* 44 */ { 1, 0, sys_brk, "brk" }, /* 45 */ - { -1, 0, printargs, "SYS_46" }, /* 46 */ - { -1, 0, printargs, "SYS_47" }, /* 47 */ + { MA, 0, printargs, "SYS_46" }, /* 46 */ + { MA, 0, printargs, "SYS_47" }, /* 47 */ { 3, TS, sys_signal, "signal" }, /* 48 */ { 0, NF, sys_geteuid, "geteuid" }, /* 49 */ { 0, NF, sys_getegid, "getegid" }, /* 50 */ { 1, TF, sys_acct, "acct" }, /* 51 */ { 2, TF, sys_umount2, "umount" }, /* 52 */ - { -1, 0, printargs, "SYS_53" }, /* 53 */ + { MA, 0, printargs, "SYS_53" }, /* 53 */ { 3, TD, sys_ioctl, "ioctl" }, /* 54 */ { 3, TD, sys_fcntl, "fcntl" }, /* 55 */ - { -1, 0, printargs, "SYS_56" }, /* 56 */ + { MA, 0, printargs, "SYS_56" }, /* 56 */ { 2, 0, sys_setpgid, "setpgid" }, /* 57 */ - { -1, 0, printargs, "SYS_58" }, /* 58 */ - { -1, 0, printargs, "SYS_59" }, /* 59 */ + { MA, 0, printargs, "SYS_58" }, /* 58 */ + { MA, 0, printargs, "SYS_59" }, /* 59 */ { 1, 0, sys_umask, "umask" }, /* 60 */ { 1, TF, sys_chroot, "chroot" }, /* 61 */ { 2, 0, sys_ustat, "ustat" }, /* 62 */ @@ -96,8 +96,8 @@ { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */ { 0, 0, sys_setsid, "setsid" }, /* 66 */ { 3, TS, sys_sigaction, "sigaction" }, /* 67 */ - { -1, 0, printargs, "SYS_68" }, /* 68 */ - { -1, 0, printargs, "SYS_69" }, /* 69 */ + { MA, 0, printargs, "SYS_68" }, /* 68 */ + { MA, 0, printargs, "SYS_69" }, /* 69 */ { 2, 0, sys_setreuid, "setreuid" }, /* 70 */ { 2, 0, sys_setregid, "setregid" }, /* 71 */ { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 72 */ @@ -110,9 +110,9 @@ { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */ { 2, 0, sys_getgroups, "getgroups" }, /* 80 */ { 2, 0, sys_setgroups, "setgroups" }, /* 81 */ - { -1, 0, printargs, "SYS_82" }, /* 82 */ + { MA, 0, printargs, "SYS_82" }, /* 82 */ { 2, TF, sys_symlink, "symlink" }, /* 83 */ - { -1, 0, printargs, "SYS_84" }, /* 84 */ + { MA, 0, printargs, "SYS_84" }, /* 84 */ { 3, TF, sys_readlink, "readlink" }, /* 85 */ { 1, TF, sys_uselib, "uselib" }, /* 86 */ { 1, TF, sys_swapon, "swapon" }, /* 87 */ @@ -126,7 +126,7 @@ { 3, TD, sys_fchown, "fchown" }, /* 95 */ { 2, 0, sys_getpriority, "getpriority" }, /* 96 */ { 3, 0, sys_setpriority, "setpriority" }, /* 97 */ - { -1, 0, printargs, "SYS_98" }, /* 98 */ + { MA, 0, printargs, "SYS_98" }, /* 98 */ { 2, TF, sys_statfs, "statfs" }, /* 99 */ { 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */ { 3, 0, sys_ioperm, "ioperm" }, /* 101 */ @@ -137,11 +137,11 @@ { 2, TF, sys_stat, "stat" }, /* 106 */ { 2, TF, sys_lstat, "lstat" }, /* 107 */ { 2, TD, sys_fstat, "fstat" }, /* 108 */ - { -1, 0, printargs, "SYS_109" }, /* 109 */ - { -1, 0, printargs, "SYS_110" }, /* 110 */ + { MA, 0, printargs, "SYS_109" }, /* 109 */ + { MA, 0, printargs, "SYS_110" }, /* 110 */ { 0, 0, sys_vhangup, "vhangup" }, /* 111 */ { 0, 0, sys_idle, "idle" }, /* 112 */ - { -1, 0, printargs, "SYS_113" }, /* 113 */ + { MA, 0, printargs, "SYS_113" }, /* 113 */ { 4, TP, sys_wait4, "wait4" }, /* 114 */ { 1, TF, sys_swapoff, "swapoff" }, /* 115 */ { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */ @@ -151,7 +151,7 @@ { 5, TP, sys_clone, "clone" }, /* 120 */ { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */ { 1, 0, sys_uname, "uname" }, /* 122 */ - { -1, 0, printargs, "SYS_123" }, /* 123 */ + { MA, 0, printargs, "SYS_123" }, /* 123 */ { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */ { 3, 0, sys_mprotect, "mprotect" }, /* 125 */ { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */ @@ -194,7 +194,7 @@ { 5, 0, sys_mremap, "mremap" }, /* 163 */ { 3, 0, sys_setresuid, "setresuid" }, /* 164 */ { 3, 0, sys_getresuid, "getresuid" }, /* 165 */ - { -1, 0, printargs, "SYS_166" }, /* 166 */ + { MA, 0, printargs, "SYS_166" }, /* 166 */ { 5, 0, sys_query_module, "query_module" }, /* 167 */ { 3, TD, sys_poll, "poll" }, /* 168 */ { 3, 0, printargs, "nfsservctl" }, /* 169 */ @@ -270,7 +270,7 @@ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 239 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 240 */ { 3, TS, sys_tgkill, "tgkill" }, /* 241 */ - { -1, 0, printargs, "SYS_242" }, /* 242 */ + { MA, 0, printargs, "SYS_242" }, /* 242 */ { 2, 0, sys_io_setup, "io_setup" }, /* 243 */ { 1, 0, sys_io_destroy, "io_destroy" }, /* 244 */ { 5, 0, sys_io_getevents, "io_getevents" }, /* 245 */ diff --git a/linux/s390x/syscallent.h b/linux/s390x/syscallent.h index 00439caa..606d1968 100644 --- a/linux/s390x/syscallent.h +++ b/linux/s390x/syscallent.h @@ -40,29 +40,29 @@ { 1, TF, sys_unlink, "unlink" }, /* 10 */ { 3, TF|TP, sys_execve, "execve" }, /* 11 */ { 1, TF, sys_chdir, "chdir" }, /* 12 */ - { -1, 0, printargs, "SYS_13" }, /* 13 */ + { MA, 0, printargs, "SYS_13" }, /* 13 */ { 3, TF, sys_mknod, "mknod" }, /* 14 */ { 2, TF, sys_chmod, "chmod" }, /* 15 */ - { -1, 0, printargs, "SYS_16" }, /* 16 */ - { -1, 0, printargs, "SYS_17" }, /* 17 */ - { -1, 0, printargs, "SYS_18" }, /* 18 */ + { MA, 0, printargs, "SYS_16" }, /* 16 */ + { MA, 0, printargs, "SYS_17" }, /* 17 */ + { MA, 0, printargs, "SYS_18" }, /* 18 */ { 3, TD, sys_lseek, "lseek" }, /* 19 */ { 0, 0, sys_getpid, "getpid" }, /* 20 */ { 5, TF, sys_mount, "mount" }, /* 21 */ { 1, TF, sys_umount, "oldumount" }, /* 22 */ - { -1, 0, printargs, "SYS_23" }, /* 23 */ - { -1, 0, printargs, "SYS_24" }, /* 24 */ - { -1, 0, printargs, "SYS_25" }, /* 25 */ + { MA, 0, printargs, "SYS_23" }, /* 23 */ + { MA, 0, printargs, "SYS_24" }, /* 24 */ + { MA, 0, printargs, "SYS_25" }, /* 25 */ { 4, 0, sys_ptrace, "ptrace" }, /* 26 */ { 1, 0, sys_alarm, "alarm" }, /* 27 */ - { -1, 0, printargs, "SYS_28" }, /* 28 */ + { MA, 0, printargs, "SYS_28" }, /* 28 */ { 0, TS, sys_pause, "pause" }, /* 29 */ { 2, TF, sys_utime, "utime" }, /* 30 */ - { -1, 0, printargs, "SYS_31" }, /* 31 */ - { -1, 0, printargs, "SYS_32" }, /* 32 */ + { MA, 0, printargs, "SYS_31" }, /* 31 */ + { MA, 0, printargs, "SYS_32" }, /* 32 */ { 2, TF, sys_access, "access" }, /* 33 */ { 1, 0, sys_nice, "nice" }, /* 34 */ - { -1, 0, printargs, "SYS_35" }, /* 35 */ + { MA, 0, printargs, "SYS_35" }, /* 35 */ { 0, 0, sys_sync, "sync" }, /* 36 */ { 2, TS, sys_kill, "kill" }, /* 37 */ { 2, TF, sys_rename, "rename" }, /* 38 */ @@ -71,22 +71,22 @@ { 1, TD, sys_dup, "dup" }, /* 41 */ { 1, TD, sys_pipe, "pipe" }, /* 42 */ { 1, 0, sys_times, "times" }, /* 43 */ - { -1, 0, printargs, "SYS_44" }, /* 44 */ + { MA, 0, printargs, "SYS_44" }, /* 44 */ { 1, 0, sys_brk, "brk" }, /* 45 */ - { -1, 0, printargs, "SYS_46" }, /* 46 */ - { -1, 0, printargs, "SYS_47" }, /* 47 */ + { MA, 0, printargs, "SYS_46" }, /* 46 */ + { MA, 0, printargs, "SYS_47" }, /* 47 */ { 3, TS, sys_signal, "signal" }, /* 48 */ - { -1, 0, printargs, "SYS_49" }, /* 49 */ - { -1, 0, printargs, "SYS_50" }, /* 50 */ + { MA, 0, printargs, "SYS_49" }, /* 49 */ + { MA, 0, printargs, "SYS_50" }, /* 50 */ { 1, TF, sys_acct, "acct" }, /* 51 */ { 2, TF, sys_umount2, "umount" }, /* 52 */ - { -1, 0, printargs, "SYS_53" }, /* 53 */ + { MA, 0, printargs, "SYS_53" }, /* 53 */ { 3, TD, sys_ioctl, "ioctl" }, /* 54 */ { 3, TD, sys_fcntl, "fcntl" }, /* 55 */ - { -1, 0, printargs, "SYS_56" }, /* 56 */ + { MA, 0, printargs, "SYS_56" }, /* 56 */ { 2, 0, sys_setpgid, "setpgid" }, /* 57 */ - { -1, 0, printargs, "SYS_58" }, /* 58 */ - { -1, 0, printargs, "SYS_59" }, /* 59 */ + { MA, 0, printargs, "SYS_58" }, /* 58 */ + { MA, 0, printargs, "SYS_59" }, /* 59 */ { 1, 0, sys_umask, "umask" }, /* 60 */ { 1, TF, sys_chroot, "chroot" }, /* 61 */ { 2, 0, sys_ustat, "ustat" }, /* 62 */ @@ -95,10 +95,10 @@ { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */ { 0, 0, sys_setsid, "setsid" }, /* 66 */ { 3, TS, sys_sigaction, "sigaction" }, /* 67 */ - { -1, 0, printargs, "SYS_68" }, /* 68 */ - { -1, 0, printargs, "SYS_69" }, /* 69 */ - { -1, 0, printargs, "SYS_70" }, /* 70 */ - { -1, 0, printargs, "SYS_71" }, /* 71 */ + { MA, 0, printargs, "SYS_68" }, /* 68 */ + { MA, 0, printargs, "SYS_69" }, /* 69 */ + { MA, 0, printargs, "SYS_70" }, /* 70 */ + { MA, 0, printargs, "SYS_71" }, /* 71 */ { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 72 */ { 1, TS, sys_sigpending, "sigpending" }, /* 73 */ { 2, 0, sys_sethostname, "sethostname" }, /* 74 */ @@ -107,28 +107,28 @@ { 2, 0, sys_getrusage, "getrusage" }, /* 77 */ { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 78 */ { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */ - { -1, 0, printargs, "SYS_80" }, /* 80 */ - { -1, 0, printargs, "SYS_81" }, /* 81 */ - { -1, 0, printargs, "SYS_82" }, /* 82 */ + { MA, 0, printargs, "SYS_80" }, /* 80 */ + { MA, 0, printargs, "SYS_81" }, /* 81 */ + { MA, 0, printargs, "SYS_82" }, /* 82 */ { 2, TF, sys_symlink, "symlink" }, /* 83 */ - { -1, 0, printargs, "SYS_84" }, /* 84 */ + { MA, 0, printargs, "SYS_84" }, /* 84 */ { 3, TF, sys_readlink, "readlink" }, /* 85 */ { 1, TF, sys_uselib, "uselib" }, /* 86 */ { 1, TF, sys_swapon, "swapon" }, /* 87 */ { 3, 0, sys_reboot, "reboot" }, /* 88 */ - { -1, 0, printargs, "SYS_89" }, /* 89 */ + { MA, 0, printargs, "SYS_89" }, /* 89 */ { 6, TD, sys_old_mmap, "mmap" }, /* 90 */ { 2, 0, sys_munmap, "munmap" }, /* 91 */ { 2, TF, sys_truncate, "truncate" }, /* 92 */ { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */ { 2, TD, sys_fchmod, "fchmod" }, /* 94 */ - { -1, 0, printargs, "SYS_95" }, /* 95 */ + { MA, 0, printargs, "SYS_95" }, /* 95 */ { 2, 0, sys_getpriority, "getpriority" }, /* 96 */ { 3, 0, sys_setpriority, "setpriority" }, /* 97 */ - { -1, 0, printargs, "SYS_98" }, /* 98 */ + { MA, 0, printargs, "SYS_98" }, /* 98 */ { 2, TF, sys_statfs, "statfs" }, /* 99 */ { 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */ - { -1, 0, printargs, "SYS_101" }, /* 101 */ + { MA, 0, printargs, "SYS_101" }, /* 101 */ { 2, TD, sys_socketcall, "socketcall" }, /* 102 */ { 3, 0, sys_syslog, "syslog" }, /* 103 */ { 3, 0, sys_setitimer, "setitimer" }, /* 104 */ @@ -136,11 +136,11 @@ { 2, TF, sys_stat, "stat" }, /* 106 */ { 2, TF, sys_lstat, "lstat" }, /* 107 */ { 2, TD, sys_fstat, "fstat" }, /* 108 */ - { -1, 0, printargs, "SYS_109" }, /* 109 */ - { -1, 0, printargs, "SYS_110" }, /* 110 */ + { MA, 0, printargs, "SYS_109" }, /* 109 */ + { MA, 0, printargs, "SYS_110" }, /* 110 */ { 0, 0, sys_vhangup, "vhangup" }, /* 111 */ { 0, 0, sys_idle, "idle" }, /* 112 */ - { -1, 0, printargs, "SYS_113" }, /* 113 */ + { MA, 0, printargs, "SYS_113" }, /* 113 */ { 4, TP, sys_wait4, "wait4" }, /* 114 */ { 1, TF, sys_swapoff, "swapoff" }, /* 115 */ { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */ @@ -150,7 +150,7 @@ { 5, TP, sys_clone, "clone" }, /* 120 */ { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */ { 1, 0, sys_uname, "uname" }, /* 122 */ - { -1, 0, printargs, "SYS_123" }, /* 123 */ + { MA, 0, printargs, "SYS_123" }, /* 123 */ { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */ { 3, 0, sys_mprotect, "mprotect" }, /* 125 */ { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */ @@ -165,8 +165,8 @@ { 3, 0, sys_sysfs, "sysfs" }, /* 135 */ { 1, 0, sys_personality, "personality" }, /* 136 */ { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 137 */ - { -1, 0, printargs, "SYS_138" }, /* 138 */ - { -1, 0, printargs, "SYS_139" }, /* 139 */ + { MA, 0, printargs, "SYS_138" }, /* 138 */ + { MA, 0, printargs, "SYS_139" }, /* 139 */ { 5, 0, sys_llseek, "_llseek" }, /* 140 */ { 3, TD, sys_getdents, "getdents" }, /* 141 */ { 5, TD, sys_select, "select" }, /* 142 */ @@ -191,14 +191,14 @@ { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */ { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */ { 5, 0, sys_mremap, "mremap" }, /* 163 */ - { -1, 0, printargs, "SYS_164" }, /* 164 */ - { -1, 0, printargs, "SYS_165" }, /* 165 */ - { -1, 0, printargs, "SYS_166" }, /* 166 */ + { MA, 0, printargs, "SYS_164" }, /* 164 */ + { MA, 0, printargs, "SYS_165" }, /* 165 */ + { MA, 0, printargs, "SYS_166" }, /* 166 */ { 5, 0, sys_query_module, "query_module" }, /* 167 */ { 3, TD, sys_poll, "poll" }, /* 168 */ { 3, 0, printargs, "nfsservctl" }, /* 169 */ - { -1, 0, printargs, "SYS_170" }, /* 170 */ - { -1, 0, printargs, "SYS_171" }, /* 171 */ + { MA, 0, printargs, "SYS_170" }, /* 170 */ + { MA, 0, printargs, "SYS_171" }, /* 171 */ { 5, 0, sys_prctl, "prctl" }, /* 172 */ { 0, TS, sys_sigreturn, "rt_sigreturn" }, /* 173 */ { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */ @@ -209,7 +209,7 @@ { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 179 */ { 5, TD, sys_pread, "pread" }, /* 180 */ { 5, TD, sys_pwrite, "pwrite" }, /* 181 */ - { -1, 0, printargs, "SYS_182" }, /* 182 */ + { MA, 0, printargs, "SYS_182" }, /* 182 */ { 2, TF, sys_getcwd, "getcwd" }, /* 183 */ { 2, 0, sys_capget, "capget" }, /* 184 */ { 2, 0, sys_capset, "capset" }, /* 185 */ @@ -219,12 +219,12 @@ { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */ { 0, TP, sys_vfork, "vfork" }, /* 190 */ { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */ - { -1, 0, printargs, "SYS_192" }, /* 192 */ - { -1, 0, printargs, "SYS_193" }, /* 193 */ - { -1, 0, printargs, "SYS_194" }, /* 194 */ - { -1, 0, printargs, "SYS_195" }, /* 195 */ - { -1, 0, printargs, "SYS_196" }, /* 196 */ - { -1, 0, printargs, "SYS_197" }, /* 197 */ + { MA, 0, printargs, "SYS_192" }, /* 192 */ + { MA, 0, printargs, "SYS_193" }, /* 193 */ + { MA, 0, printargs, "SYS_194" }, /* 194 */ + { MA, 0, printargs, "SYS_195" }, /* 195 */ + { MA, 0, printargs, "SYS_196" }, /* 196 */ + { MA, 0, printargs, "SYS_197" }, /* 197 */ { 3, TF, sys_chown, "lchown" }, /* 198 */ { 0, NF, sys_getuid, "getuid" }, /* 199 */ { 0, NF, sys_getgid, "getgid" }, /* 200 */ @@ -248,7 +248,7 @@ { 3, 0, sys_mincore, "mincore" }, /* 218 */ { 3, 0, sys_madvise, "madvise" }, /* 219 */ { 3, TD, sys_getdents64, "getdents64" }, /* 220 */ - { -1, 0, printargs, "SYS_221" }, /* 221 */ + { MA, 0, printargs, "SYS_221" }, /* 221 */ { 4, TD, sys_readahead, "readahead" }, /* 222 */ { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 223 */ { 5, TF, sys_setxattr, "setxattr" }, /* 224 */ @@ -269,7 +269,7 @@ { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 239 */ { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 240 */ { 3, TS, sys_tgkill, "tgkill" }, /* 241 */ - { -1, 0, printargs, "SYS_242" }, /* 242 */ + { MA, 0, printargs, "SYS_242" }, /* 242 */ { 2, 0, sys_io_setup, "io_setup" }, /* 243 */ { 1, 0, sys_io_destroy, "io_destroy" }, /* 244 */ { 5, 0, sys_io_getevents, "io_getevents" }, /* 245 */ diff --git a/svr4/syscallent.h b/svr4/syscallent.h index 54263c3a..3addb355 100644 --- a/svr4/syscallent.h +++ b/svr4/syscallent.h @@ -28,800 +28,801 @@ */ #ifdef MIPS - { -1, 0, printargs, "SYS_-1" }, /* -1 */ + /* TODO: explain to non-mips people how this arch can have syscall #-1 */ + { MA, 0, printargs, "SYS_-1" }, /* -1 */ #endif /* MIPS */ - { -1, 0, sys_syscall, "syscall" }, /* 0 */ - { -1, TP, sys_exit, "_exit" }, /* 1 */ - { -1, TP, sys_fork, "fork" }, /* 2 */ - { -1, TD, sys_read, "read" }, /* 3 */ - { -1, TD, sys_write, "write" }, /* 4 */ - { -1, TD|TF, sys_open, "open" }, /* 5 */ - { -1, TD, sys_close, "close" }, /* 6 */ - { -1, TP, sys_wait, "wait" }, /* 7 */ - { -1, TD|TF, sys_creat, "creat" }, /* 8 */ - { -1, TF, sys_link, "link" }, /* 9 */ - { -1, TF, sys_unlink, "unlink" }, /* 10 */ - { -1, TF|TP, sys_exec, "exec" }, /* 11 */ - { -1, TF, sys_chdir, "chdir" }, /* 12 */ - { -1, 0, sys_time, "time" }, /* 13 */ - { -1, TF, sys_mknod, "mknod" }, /* 14 */ - { -1, TF, sys_chmod, "chmod" }, /* 15 */ - { -1, TF, sys_chown, "chown" }, /* 16 */ - { -1, 0, sys_brk, "brk" }, /* 17 */ - { -1, TF, sys_stat, "stat" }, /* 18 */ - { -1, TD, sys_lseek, "lseek" }, /* 19 */ - { -1, 0, sys_getpid, "getpid" }, /* 20 */ - { -1, TF, sys_mount, "mount" }, /* 21 */ - { -1, TF, sys_umount, "umount" }, /* 22 */ - { -1, 0, sys_setuid, "setuid" }, /* 23 */ - { -1, 0, sys_getuid, "getuid" }, /* 24 */ - { -1, 0, sys_stime, "stime" }, /* 25 */ - { -1, 0, sys_ptrace, "ptrace" }, /* 26 */ - { -1, 0, sys_alarm, "alarm" }, /* 27 */ - { -1, TD, sys_fstat, "fstat" }, /* 28 */ - { -1, TS, sys_pause, "pause" }, /* 29 */ - { -1, TF, sys_utime, "utime" }, /* 30 */ - { -1, 0, sys_stty, "stty" }, /* 31 */ - { -1, 0, sys_gtty, "gtty" }, /* 32 */ - { -1, TF, sys_access, "access" }, /* 33 */ - { -1, 0, sys_nice, "nice" }, /* 34 */ - { -1, TF, sys_statfs, "statfs" }, /* 35 */ - { -1, 0, sys_sync, "sync" }, /* 36 */ - { -1, TS, sys_kill, "kill" }, /* 37 */ - { -1, TD, sys_fstatfs, "fstatfs" }, /* 38 */ + { MA, 0, sys_syscall, "syscall" }, /* 0 */ + { MA, TP, sys_exit, "_exit" }, /* 1 */ + { MA, TP, sys_fork, "fork" }, /* 2 */ + { MA, TD, sys_read, "read" }, /* 3 */ + { MA, TD, sys_write, "write" }, /* 4 */ + { MA, TD|TF, sys_open, "open" }, /* 5 */ + { MA, TD, sys_close, "close" }, /* 6 */ + { MA, TP, sys_wait, "wait" }, /* 7 */ + { MA, TD|TF, sys_creat, "creat" }, /* 8 */ + { MA, TF, sys_link, "link" }, /* 9 */ + { MA, TF, sys_unlink, "unlink" }, /* 10 */ + { MA, TF|TP, sys_exec, "exec" }, /* 11 */ + { MA, TF, sys_chdir, "chdir" }, /* 12 */ + { MA, 0, sys_time, "time" }, /* 13 */ + { MA, TF, sys_mknod, "mknod" }, /* 14 */ + { MA, TF, sys_chmod, "chmod" }, /* 15 */ + { MA, TF, sys_chown, "chown" }, /* 16 */ + { MA, 0, sys_brk, "brk" }, /* 17 */ + { MA, TF, sys_stat, "stat" }, /* 18 */ + { MA, TD, sys_lseek, "lseek" }, /* 19 */ + { MA, 0, sys_getpid, "getpid" }, /* 20 */ + { MA, TF, sys_mount, "mount" }, /* 21 */ + { MA, TF, sys_umount, "umount" }, /* 22 */ + { MA, 0, sys_setuid, "setuid" }, /* 23 */ + { MA, 0, sys_getuid, "getuid" }, /* 24 */ + { MA, 0, sys_stime, "stime" }, /* 25 */ + { MA, 0, sys_ptrace, "ptrace" }, /* 26 */ + { MA, 0, sys_alarm, "alarm" }, /* 27 */ + { MA, TD, sys_fstat, "fstat" }, /* 28 */ + { MA, TS, sys_pause, "pause" }, /* 29 */ + { MA, TF, sys_utime, "utime" }, /* 30 */ + { MA, 0, sys_stty, "stty" }, /* 31 */ + { MA, 0, sys_gtty, "gtty" }, /* 32 */ + { MA, TF, sys_access, "access" }, /* 33 */ + { MA, 0, sys_nice, "nice" }, /* 34 */ + { MA, TF, sys_statfs, "statfs" }, /* 35 */ + { MA, 0, sys_sync, "sync" }, /* 36 */ + { MA, TS, sys_kill, "kill" }, /* 37 */ + { MA, TD, sys_fstatfs, "fstatfs" }, /* 38 */ #ifdef MIPS - { -1, 0, sys_setpgrp, "setpgrp" }, /* 39 */ + { MA, 0, sys_setpgrp, "setpgrp" }, /* 39 */ #else /* !MIPS */ - { -1, 0, sys_pgrpsys, "pgrpsys" }, /* 39 */ + { MA, 0, sys_pgrpsys, "pgrpsys" }, /* 39 */ #endif /* !MIPS */ #ifdef MIPS - { -1, 0, sys_syssgi, "syssgi" }, /* 40 */ + { MA, 0, sys_syssgi, "syssgi" }, /* 40 */ #else /* !MIPS */ - { -1, 0, sys_xenix, "xenix" }, /* 40 */ + { MA, 0, sys_xenix, "xenix" }, /* 40 */ #endif /* !MIPS */ - { -1, TD, sys_dup, "dup" }, /* 41 */ - { -1, TD, sys_pipe, "pipe" }, /* 42 */ - { -1, 0, sys_times, "times" }, /* 43 */ - { -1, 0, sys_profil, "profil" }, /* 44 */ - { -1, 0, sys_plock, "plock" }, /* 45 */ - { -1, 0, sys_setgid, "setgid" }, /* 46 */ - { -1, 0, sys_getgid, "getgid" }, /* 47 */ - { -1, 0, sys_sigcall, "sigcall" }, /* 48 */ - { -1, TI, sys_msgsys, "msgsys" }, /* 49 */ + { MA, TD, sys_dup, "dup" }, /* 41 */ + { MA, TD, sys_pipe, "pipe" }, /* 42 */ + { MA, 0, sys_times, "times" }, /* 43 */ + { MA, 0, sys_profil, "profil" }, /* 44 */ + { MA, 0, sys_plock, "plock" }, /* 45 */ + { MA, 0, sys_setgid, "setgid" }, /* 46 */ + { MA, 0, sys_getgid, "getgid" }, /* 47 */ + { MA, 0, sys_sigcall, "sigcall" }, /* 48 */ + { MA, TI, sys_msgsys, "msgsys" }, /* 49 */ #ifdef SPARC - { -1, 0, sys_syssun, "syssun" }, /* 50 */ + { MA, 0, sys_syssun, "syssun" }, /* 50 */ #else /* !SPARC */ #ifdef I386 - { -1, 0, sys_sysi86, "sysi86" }, /* 50 */ + { MA, 0, sys_sysi86, "sysi86" }, /* 50 */ #else /* !I386 */ #ifdef MIPS - { -1, 0, sys_sysmips, "sysmips" }, /* 50 */ + { MA, 0, sys_sysmips, "sysmips" }, /* 50 */ #else /* !MIPS */ - { -1, 0, sys_sysmachine, "sysmachine" }, /* 50 */ + { MA, 0, sys_sysmachine, "sysmachine" }, /* 50 */ #endif /* !MIPS */ #endif /* !I386 */ #endif /* !SPARC */ - { -1, TF, sys_acct, "acct" }, /* 51 */ - { -1, TI, sys_shmsys, "shmsys" }, /* 52 */ - { -1, TI, sys_semsys, "semsys" }, /* 53 */ - { -1, TD, sys_ioctl, "ioctl" }, /* 54 */ - { -1, 0, sys_uadmin, "uadmin" }, /* 55 */ - { -1, 0, sys_sysmp, "sysmp" }, /* 56 */ - { -1, 0, sys_utssys, "utssys" }, /* 57 */ - { -1, 0, sys_fdsync, "fdsync" }, /* 58 */ - { -1, TF|TP, sys_execve, "execve" }, /* 59 */ - { -1, 0, sys_umask, "umask" }, /* 60 */ - { -1, TF, sys_chroot, "chroot" }, /* 61 */ - { -1, TD, sys_fcntl, "fcntl" }, /* 62 */ - { -1, 0, sys_ulimit, "ulimit" }, /* 63 */ - { -1, 0, printargs, "SYS_64" }, /* 64 */ - { -1, 0, printargs, "SYS_65" }, /* 65 */ - { -1, 0, printargs, "SYS_66" }, /* 66 */ - { -1, 0, printargs, "SYS_67" }, /* 67 */ - { -1, 0, printargs, "SYS_68" }, /* 68 */ - { -1, 0, printargs, "SYS_69" }, /* 69 */ - { -1, 0, printargs, "SYS_70" }, /* 70 */ - { -1, 0, printargs, "SYS_71" }, /* 71 */ - { -1, 0, printargs, "SYS_72" }, /* 72 */ - { -1, 0, printargs, "SYS_73" }, /* 73 */ - { -1, 0, printargs, "SYS_74" }, /* 74 */ - { -1, 0, printargs, "SYS_75" }, /* 75 */ - { -1, 0, printargs, "SYS_76" }, /* 76 */ - { -1, 0, printargs, "SYS_77" }, /* 77 */ - { -1, 0, printargs, "SYS_78" }, /* 78 */ - { -1, TF, sys_rmdir, "rmdir" }, /* 79 */ - { -1, TF, sys_mkdir, "mkdir" }, /* 80 */ - { -1, TD, sys_getdents, "getdents" }, /* 81 */ - { -1, 0, sys_sginap, "sginap" }, /* 82 */ - { -1, 0, sys_sgikopt, "sgikopt" }, /* 83 */ - { -1, 0, sys_sysfs, "sysfs" }, /* 84 */ - { -1, TN, sys_getmsg, "getmsg" }, /* 85 */ - { -1, TN, sys_putmsg, "putmsg" }, /* 86 */ - { -1, TN, sys_poll, "poll" }, /* 87 */ + { MA, TF, sys_acct, "acct" }, /* 51 */ + { MA, TI, sys_shmsys, "shmsys" }, /* 52 */ + { MA, TI, sys_semsys, "semsys" }, /* 53 */ + { MA, TD, sys_ioctl, "ioctl" }, /* 54 */ + { MA, 0, sys_uadmin, "uadmin" }, /* 55 */ + { MA, 0, sys_sysmp, "sysmp" }, /* 56 */ + { MA, 0, sys_utssys, "utssys" }, /* 57 */ + { MA, 0, sys_fdsync, "fdsync" }, /* 58 */ + { MA, TF|TP, sys_execve, "execve" }, /* 59 */ + { MA, 0, sys_umask, "umask" }, /* 60 */ + { MA, TF, sys_chroot, "chroot" }, /* 61 */ + { MA, TD, sys_fcntl, "fcntl" }, /* 62 */ + { MA, 0, sys_ulimit, "ulimit" }, /* 63 */ + { MA, 0, printargs, "SYS_64" }, /* 64 */ + { MA, 0, printargs, "SYS_65" }, /* 65 */ + { MA, 0, printargs, "SYS_66" }, /* 66 */ + { MA, 0, printargs, "SYS_67" }, /* 67 */ + { MA, 0, printargs, "SYS_68" }, /* 68 */ + { MA, 0, printargs, "SYS_69" }, /* 69 */ + { MA, 0, printargs, "SYS_70" }, /* 70 */ + { MA, 0, printargs, "SYS_71" }, /* 71 */ + { MA, 0, printargs, "SYS_72" }, /* 72 */ + { MA, 0, printargs, "SYS_73" }, /* 73 */ + { MA, 0, printargs, "SYS_74" }, /* 74 */ + { MA, 0, printargs, "SYS_75" }, /* 75 */ + { MA, 0, printargs, "SYS_76" }, /* 76 */ + { MA, 0, printargs, "SYS_77" }, /* 77 */ + { MA, 0, printargs, "SYS_78" }, /* 78 */ + { MA, TF, sys_rmdir, "rmdir" }, /* 79 */ + { MA, TF, sys_mkdir, "mkdir" }, /* 80 */ + { MA, TD, sys_getdents, "getdents" }, /* 81 */ + { MA, 0, sys_sginap, "sginap" }, /* 82 */ + { MA, 0, sys_sgikopt, "sgikopt" }, /* 83 */ + { MA, 0, sys_sysfs, "sysfs" }, /* 84 */ + { MA, TN, sys_getmsg, "getmsg" }, /* 85 */ + { MA, TN, sys_putmsg, "putmsg" }, /* 86 */ + { MA, TN, sys_poll, "poll" }, /* 87 */ #ifdef MIPS - { -1, TS, sys_sigreturn, "sigreturn" }, /* 88 */ - { -1, TN, sys_accept, "accept" }, /* 89 */ - { -1, TN, sys_bind, "bind" }, /* 90 */ - { -1, TN, sys_connect, "connect" }, /* 91 */ - { -1, 0, sys_gethostid, "gethostid" }, /* 92 */ - { -1, TN, sys_getpeername, "getpeername" }, /* 93 */ - { -1, TN, sys_getsockname, "getsockname" }, /* 94 */ - { -1, TN, sys_getsockopt, "getsockopt" }, /* 95 */ - { -1, TN, sys_listen, "listen" }, /* 96 */ - { -1, TN, sys_recv, "recv" }, /* 97 */ - { -1, TN, sys_recvfrom, "recvfrom" }, /* 98 */ - { -1, TN, sys_recvmsg, "recvmsg" }, /* 99 */ - { -1, TD, sys_select, "select" }, /* 100 */ - { -1, TN, sys_send, "send" }, /* 101 */ - { -1, TN, sys_sendmsg, "sendmsg" }, /* 102 */ - { -1, TN, sys_sendto, "sendto" }, /* 103 */ - { -1, 0, sys_sethostid, "sethostid" }, /* 104 */ - { -1, TN, sys_setsockopt, "setsockopt" }, /* 105 */ - { -1, TN, sys_shutdown, "shutdown" }, /* 106 */ - { -1, TN, sys_socket, "socket" }, /* 107 */ - { -1, 0, sys_gethostname, "gethostname" }, /* 108 */ - { -1, 0, sys_sethostname, "sethostname" }, /* 109 */ - { -1, 0, sys_getdomainname, "getdomainname" }, /* 110 */ - { -1, 0, sys_setdomainname, "setdomainname" }, /* 111 */ - { -1, TF, sys_truncate, "truncate" }, /* 112 */ - { -1, TD, sys_ftruncate, "ftruncate" }, /* 113 */ - { -1, TF, sys_rename, "rename" }, /* 114 */ - { -1, TF, sys_symlink, "symlink" }, /* 115 */ - { -1, TF, sys_readlink, "readlink" }, /* 116 */ - { -1, 0, printargs, "SYS_117" }, /* 117 */ - { -1, 0, printargs, "SYS_118" }, /* 118 */ - { -1, 0, sys_nfssvc, "nfssvc" }, /* 119 */ - { -1, 0, sys_getfh, "getfh" }, /* 120 */ - { -1, 0, sys_async_daemon, "async_daemon" }, /* 121 */ - { -1, 0, sys_exportfs, "exportfs" }, /* 122 */ - { -1, 0, sys_setregid, "setregid" }, /* 123 */ - { -1, 0, sys_setreuid, "setreuid" }, /* 124 */ - { -1, 0, sys_getitimer, "getitimer" }, /* 125 */ - { -1, 0, sys_setitimer, "setitimer" }, /* 126 */ - { -1, 0, sys_adjtime, "adjtime" }, /* 127 */ - { -1, 0, sys_BSD_getime, "BSD_getime" }, /* 128 */ - { -1, 0, sys_sproc, "sproc" }, /* 129 */ - { -1, 0, sys_prctl, "prctl" }, /* 130 */ - { -1, 0, sys_procblk, "procblk" }, /* 131 */ - { -1, 0, sys_sprocsp, "sprocsp" }, /* 132 */ - { -1, 0, printargs, "SYS_133" }, /* 133 */ - { -1, 0, sys_mmap, "mmap" }, /* 134 */ - { -1, 0, sys_munmap, "munmap" }, /* 135 */ - { -1, 0, sys_mprotect, "mprotect" }, /* 136 */ - { -1, 0, sys_msync, "msync" }, /* 137 */ - { -1, 0, sys_madvise, "madvise" }, /* 138 */ - { -1, 0, sys_pagelock, "pagelock" }, /* 139 */ - { -1, 0, sys_getpagesize, "getpagesize" }, /* 140 */ - { -1, 0, sys_quotactl, "quotactl" }, /* 141 */ - { -1, 0, printargs, "SYS_142" }, /* 142 */ - { -1, 0, sys_BSDgetpgrp, "BSDgetpgrp" }, /* 143 */ - { -1, 0, sys_BSDsetpgrp, "BSDsetpgrp" }, /* 144 */ - { -1, 0, sys_vhangup, "vhangup" }, /* 145 */ - { -1, TD, sys_fsync, "fsync" }, /* 146 */ - { -1, TD, sys_fchdir, "fchdir" }, /* 147 */ - { -1, 0, sys_getrlimit, "getrlimit" }, /* 148 */ - { -1, 0, sys_setrlimit, "setrlimit" }, /* 149 */ - { -1, 0, sys_cacheflush, "cacheflush" }, /* 150 */ - { -1, 0, sys_cachectl, "cachectl" }, /* 151 */ - { -1, TD, sys_fchown, "fchown" }, /* 152 */ - { -1, TD, sys_fchmod, "fchmod" }, /* 153 */ - { -1, 0, printargs, "SYS_154" }, /* 154 */ - { -1, TN, sys_socketpair, "socketpair" }, /* 155 */ - { -1, 0, sys_sysinfo, "sysinfo" }, /* 156 */ - { -1, 0, sys_nuname, "nuname" }, /* 157 */ - { -1, TF, sys_xstat, "xstat" }, /* 158 */ - { -1, TF, sys_lxstat, "lxstat" }, /* 159 */ - { -1, 0, sys_fxstat, "fxstat" }, /* 160 */ - { -1, TF, sys_xmknod, "xmknod" }, /* 161 */ - { -1, TS, sys_ksigaction, "sigaction" }, /* 162 */ - { -1, TS, sys_sigpending, "sigpending" }, /* 163 */ - { -1, TS, sys_sigprocmask, "sigprocmask" }, /* 164 */ - { -1, TS, sys_sigsuspend, "sigsuspend" }, /* 165 */ - { -1, TS, sys_sigpoll, "sigpoll" }, /* 166 */ - { -1, 0, sys_swapctl, "swapctl" }, /* 167 */ - { -1, 0, sys_getcontext, "getcontext" }, /* 168 */ - { -1, 0, sys_setcontext, "setcontext" }, /* 169 */ - { -1, TP, sys_waitid, "waitid" }, /* 170 */ - { -1, TS, sys_sigstack, "sigstack" }, /* 171 */ - { -1, TS, sys_sigaltstack, "sigaltstack" }, /* 172 */ - { -1, TS, sys_sigsendset, "sigsendset" }, /* 173 */ - { -1, TF, sys_statvfs, "statvfs" }, /* 174 */ - { -1, 0, sys_fstatvfs, "fstatvfs" }, /* 175 */ - { -1, TN, sys_getpmsg, "getpmsg" }, /* 176 */ - { -1, TN, sys_putpmsg, "putpmsg" }, /* 177 */ - { -1, TF, sys_lchown, "lchown" }, /* 178 */ - { -1, 0, sys_priocntl, "priocntl" }, /* 179 */ - { -1, TS, sys_ksigqueue, "ksigqueue" }, /* 180 */ - { -1, 0, printargs, "SYS_181" }, /* 181 */ - { -1, 0, printargs, "SYS_182" }, /* 182 */ - { -1, 0, printargs, "SYS_183" }, /* 183 */ - { -1, 0, printargs, "SYS_184" }, /* 184 */ - { -1, 0, printargs, "SYS_185" }, /* 185 */ - { -1, 0, printargs, "SYS_186" }, /* 186 */ - { -1, 0, printargs, "SYS_187" }, /* 187 */ - { -1, 0, printargs, "SYS_188" }, /* 188 */ - { -1, 0, printargs, "SYS_189" }, /* 189 */ - { -1, 0, printargs, "SYS_190" }, /* 190 */ - { -1, 0, printargs, "SYS_191" }, /* 191 */ - { -1, 0, printargs, "SYS_192" }, /* 192 */ - { -1, 0, printargs, "SYS_193" }, /* 193 */ - { -1, 0, printargs, "SYS_194" }, /* 194 */ - { -1, 0, printargs, "SYS_195" }, /* 195 */ - { -1, 0, printargs, "SYS_196" }, /* 196 */ - { -1, 0, printargs, "SYS_197" }, /* 197 */ - { -1, 0, printargs, "SYS_198" }, /* 198 */ - { -1, 0, printargs, "SYS_199" }, /* 199 */ - { -1, 0, printargs, "SYS_200" }, /* 200 */ - { -1, 0, printargs, "SYS_201" }, /* 201 */ - { -1, 0, printargs, "SYS_202" }, /* 202 */ - { -1, 0, printargs, "SYS_203" }, /* 203 */ - { -1, 0, printargs, "SYS_204" }, /* 204 */ - { -1, 0, printargs, "SYS_205" }, /* 205 */ - { -1, 0, printargs, "SYS_206" }, /* 206 */ - { -1, 0, printargs, "SYS_207" }, /* 207 */ - { -1, 0, printargs, "SYS_208" }, /* 208 */ - { -1, 0, printargs, "SYS_209" }, /* 209 */ - { -1, 0, printargs, "SYS_210" }, /* 210 */ - { -1, 0, printargs, "SYS_211" }, /* 211 */ - { -1, 0, printargs, "SYS_212" }, /* 212 */ - { -1, 0, printargs, "SYS_213" }, /* 213 */ - { -1, 0, printargs, "SYS_214" }, /* 214 */ - { -1, 0, printargs, "SYS_215" }, /* 215 */ - { -1, 0, printargs, "SYS_216" }, /* 216 */ - { -1, 0, printargs, "SYS_217" }, /* 217 */ - { -1, 0, printargs, "SYS_218" }, /* 218 */ - { -1, 0, printargs, "SYS_219" }, /* 219 */ - { -1, 0, printargs, "SYS_220" }, /* 220 */ - { -1, 0, printargs, "SYS_221" }, /* 221 */ - { -1, 0, printargs, "SYS_222" }, /* 222 */ - { -1, 0, printargs, "SYS_223" }, /* 223 */ - { -1, 0, printargs, "SYS_224" }, /* 224 */ - { -1, 0, printargs, "SYS_225" }, /* 225 */ - { -1, 0, printargs, "SYS_226" }, /* 226 */ - { -1, 0, printargs, "SYS_227" }, /* 227 */ - { -1, 0, printargs, "SYS_228" }, /* 228 */ - { -1, 0, printargs, "SYS_229" }, /* 229 */ - { -1, 0, printargs, "SYS_230" }, /* 230 */ - { -1, 0, printargs, "SYS_231" }, /* 231 */ - { -1, 0, printargs, "SYS_232" }, /* 232 */ - { -1, 0, printargs, "SYS_233" }, /* 233 */ - { -1, 0, printargs, "SYS_234" }, /* 234 */ - { -1, 0, printargs, "SYS_235" }, /* 235 */ - { -1, 0, printargs, "SYS_236" }, /* 236 */ - { -1, 0, printargs, "SYS_237" }, /* 237 */ - { -1, 0, printargs, "SYS_238" }, /* 238 */ - { -1, 0, printargs, "SYS_239" }, /* 239 */ - { -1, 0, printargs, "SYS_240" }, /* 240 */ - { -1, 0, printargs, "SYS_241" }, /* 241 */ - { -1, 0, printargs, "SYS_242" }, /* 242 */ - { -1, 0, printargs, "SYS_243" }, /* 243 */ - { -1, 0, printargs, "SYS_244" }, /* 244 */ - { -1, 0, printargs, "SYS_245" }, /* 245 */ - { -1, 0, printargs, "SYS_246" }, /* 246 */ - { -1, 0, printargs, "SYS_247" }, /* 247 */ - { -1, 0, printargs, "SYS_248" }, /* 248 */ - { -1, 0, printargs, "SYS_249" }, /* 249 */ - { -1, 0, printargs, "SYS_250" }, /* 250 */ - { -1, 0, printargs, "SYS_251" }, /* 251 */ - { -1, 0, printargs, "SYS_252" }, /* 252 */ - { -1, 0, printargs, "SYS_253" }, /* 253 */ - { -1, 0, printargs, "SYS_254" }, /* 254 */ - { -1, 0, printargs, "SYS_255" }, /* 255 */ + { MA, TS, sys_sigreturn, "sigreturn" }, /* 88 */ + { MA, TN, sys_accept, "accept" }, /* 89 */ + { MA, TN, sys_bind, "bind" }, /* 90 */ + { MA, TN, sys_connect, "connect" }, /* 91 */ + { MA, 0, sys_gethostid, "gethostid" }, /* 92 */ + { MA, TN, sys_getpeername, "getpeername" }, /* 93 */ + { MA, TN, sys_getsockname, "getsockname" }, /* 94 */ + { MA, TN, sys_getsockopt, "getsockopt" }, /* 95 */ + { MA, TN, sys_listen, "listen" }, /* 96 */ + { MA, TN, sys_recv, "recv" }, /* 97 */ + { MA, TN, sys_recvfrom, "recvfrom" }, /* 98 */ + { MA, TN, sys_recvmsg, "recvmsg" }, /* 99 */ + { MA, TD, sys_select, "select" }, /* 100 */ + { MA, TN, sys_send, "send" }, /* 101 */ + { MA, TN, sys_sendmsg, "sendmsg" }, /* 102 */ + { MA, TN, sys_sendto, "sendto" }, /* 103 */ + { MA, 0, sys_sethostid, "sethostid" }, /* 104 */ + { MA, TN, sys_setsockopt, "setsockopt" }, /* 105 */ + { MA, TN, sys_shutdown, "shutdown" }, /* 106 */ + { MA, TN, sys_socket, "socket" }, /* 107 */ + { MA, 0, sys_gethostname, "gethostname" }, /* 108 */ + { MA, 0, sys_sethostname, "sethostname" }, /* 109 */ + { MA, 0, sys_getdomainname, "getdomainname" }, /* 110 */ + { MA, 0, sys_setdomainname, "setdomainname" }, /* 111 */ + { MA, TF, sys_truncate, "truncate" }, /* 112 */ + { MA, TD, sys_ftruncate, "ftruncate" }, /* 113 */ + { MA, TF, sys_rename, "rename" }, /* 114 */ + { MA, TF, sys_symlink, "symlink" }, /* 115 */ + { MA, TF, sys_readlink, "readlink" }, /* 116 */ + { MA, 0, printargs, "SYS_117" }, /* 117 */ + { MA, 0, printargs, "SYS_118" }, /* 118 */ + { MA, 0, sys_nfssvc, "nfssvc" }, /* 119 */ + { MA, 0, sys_getfh, "getfh" }, /* 120 */ + { MA, 0, sys_async_daemon, "async_daemon" }, /* 121 */ + { MA, 0, sys_exportfs, "exportfs" }, /* 122 */ + { MA, 0, sys_setregid, "setregid" }, /* 123 */ + { MA, 0, sys_setreuid, "setreuid" }, /* 124 */ + { MA, 0, sys_getitimer, "getitimer" }, /* 125 */ + { MA, 0, sys_setitimer, "setitimer" }, /* 126 */ + { MA, 0, sys_adjtime, "adjtime" }, /* 127 */ + { MA, 0, sys_BSD_getime, "BSD_getime" }, /* 128 */ + { MA, 0, sys_sproc, "sproc" }, /* 129 */ + { MA, 0, sys_prctl, "prctl" }, /* 130 */ + { MA, 0, sys_procblk, "procblk" }, /* 131 */ + { MA, 0, sys_sprocsp, "sprocsp" }, /* 132 */ + { MA, 0, printargs, "SYS_133" }, /* 133 */ + { MA, 0, sys_mmap, "mmap" }, /* 134 */ + { MA, 0, sys_munmap, "munmap" }, /* 135 */ + { MA, 0, sys_mprotect, "mprotect" }, /* 136 */ + { MA, 0, sys_msync, "msync" }, /* 137 */ + { MA, 0, sys_madvise, "madvise" }, /* 138 */ + { MA, 0, sys_pagelock, "pagelock" }, /* 139 */ + { MA, 0, sys_getpagesize, "getpagesize" }, /* 140 */ + { MA, 0, sys_quotactl, "quotactl" }, /* 141 */ + { MA, 0, printargs, "SYS_142" }, /* 142 */ + { MA, 0, sys_BSDgetpgrp, "BSDgetpgrp" }, /* 143 */ + { MA, 0, sys_BSDsetpgrp, "BSDsetpgrp" }, /* 144 */ + { MA, 0, sys_vhangup, "vhangup" }, /* 145 */ + { MA, TD, sys_fsync, "fsync" }, /* 146 */ + { MA, TD, sys_fchdir, "fchdir" }, /* 147 */ + { MA, 0, sys_getrlimit, "getrlimit" }, /* 148 */ + { MA, 0, sys_setrlimit, "setrlimit" }, /* 149 */ + { MA, 0, sys_cacheflush, "cacheflush" }, /* 150 */ + { MA, 0, sys_cachectl, "cachectl" }, /* 151 */ + { MA, TD, sys_fchown, "fchown" }, /* 152 */ + { MA, TD, sys_fchmod, "fchmod" }, /* 153 */ + { MA, 0, printargs, "SYS_154" }, /* 154 */ + { MA, TN, sys_socketpair, "socketpair" }, /* 155 */ + { MA, 0, sys_sysinfo, "sysinfo" }, /* 156 */ + { MA, 0, sys_nuname, "nuname" }, /* 157 */ + { MA, TF, sys_xstat, "xstat" }, /* 158 */ + { MA, TF, sys_lxstat, "lxstat" }, /* 159 */ + { MA, 0, sys_fxstat, "fxstat" }, /* 160 */ + { MA, TF, sys_xmknod, "xmknod" }, /* 161 */ + { MA, TS, sys_ksigaction, "sigaction" }, /* 162 */ + { MA, TS, sys_sigpending, "sigpending" }, /* 163 */ + { MA, TS, sys_sigprocmask, "sigprocmask" }, /* 164 */ + { MA, TS, sys_sigsuspend, "sigsuspend" }, /* 165 */ + { MA, TS, sys_sigpoll, "sigpoll" }, /* 166 */ + { MA, 0, sys_swapctl, "swapctl" }, /* 167 */ + { MA, 0, sys_getcontext, "getcontext" }, /* 168 */ + { MA, 0, sys_setcontext, "setcontext" }, /* 169 */ + { MA, TP, sys_waitid, "waitid" }, /* 170 */ + { MA, TS, sys_sigstack, "sigstack" }, /* 171 */ + { MA, TS, sys_sigaltstack, "sigaltstack" }, /* 172 */ + { MA, TS, sys_sigsendset, "sigsendset" }, /* 173 */ + { MA, TF, sys_statvfs, "statvfs" }, /* 174 */ + { MA, 0, sys_fstatvfs, "fstatvfs" }, /* 175 */ + { MA, TN, sys_getpmsg, "getpmsg" }, /* 176 */ + { MA, TN, sys_putpmsg, "putpmsg" }, /* 177 */ + { MA, TF, sys_lchown, "lchown" }, /* 178 */ + { MA, 0, sys_priocntl, "priocntl" }, /* 179 */ + { MA, TS, sys_ksigqueue, "ksigqueue" }, /* 180 */ + { MA, 0, printargs, "SYS_181" }, /* 181 */ + { MA, 0, printargs, "SYS_182" }, /* 182 */ + { MA, 0, printargs, "SYS_183" }, /* 183 */ + { MA, 0, printargs, "SYS_184" }, /* 184 */ + { MA, 0, printargs, "SYS_185" }, /* 185 */ + { MA, 0, printargs, "SYS_186" }, /* 186 */ + { MA, 0, printargs, "SYS_187" }, /* 187 */ + { MA, 0, printargs, "SYS_188" }, /* 188 */ + { MA, 0, printargs, "SYS_189" }, /* 189 */ + { MA, 0, printargs, "SYS_190" }, /* 190 */ + { MA, 0, printargs, "SYS_191" }, /* 191 */ + { MA, 0, printargs, "SYS_192" }, /* 192 */ + { MA, 0, printargs, "SYS_193" }, /* 193 */ + { MA, 0, printargs, "SYS_194" }, /* 194 */ + { MA, 0, printargs, "SYS_195" }, /* 195 */ + { MA, 0, printargs, "SYS_196" }, /* 196 */ + { MA, 0, printargs, "SYS_197" }, /* 197 */ + { MA, 0, printargs, "SYS_198" }, /* 198 */ + { MA, 0, printargs, "SYS_199" }, /* 199 */ + { MA, 0, printargs, "SYS_200" }, /* 200 */ + { MA, 0, printargs, "SYS_201" }, /* 201 */ + { MA, 0, printargs, "SYS_202" }, /* 202 */ + { MA, 0, printargs, "SYS_203" }, /* 203 */ + { MA, 0, printargs, "SYS_204" }, /* 204 */ + { MA, 0, printargs, "SYS_205" }, /* 205 */ + { MA, 0, printargs, "SYS_206" }, /* 206 */ + { MA, 0, printargs, "SYS_207" }, /* 207 */ + { MA, 0, printargs, "SYS_208" }, /* 208 */ + { MA, 0, printargs, "SYS_209" }, /* 209 */ + { MA, 0, printargs, "SYS_210" }, /* 210 */ + { MA, 0, printargs, "SYS_211" }, /* 211 */ + { MA, 0, printargs, "SYS_212" }, /* 212 */ + { MA, 0, printargs, "SYS_213" }, /* 213 */ + { MA, 0, printargs, "SYS_214" }, /* 214 */ + { MA, 0, printargs, "SYS_215" }, /* 215 */ + { MA, 0, printargs, "SYS_216" }, /* 216 */ + { MA, 0, printargs, "SYS_217" }, /* 217 */ + { MA, 0, printargs, "SYS_218" }, /* 218 */ + { MA, 0, printargs, "SYS_219" }, /* 219 */ + { MA, 0, printargs, "SYS_220" }, /* 220 */ + { MA, 0, printargs, "SYS_221" }, /* 221 */ + { MA, 0, printargs, "SYS_222" }, /* 222 */ + { MA, 0, printargs, "SYS_223" }, /* 223 */ + { MA, 0, printargs, "SYS_224" }, /* 224 */ + { MA, 0, printargs, "SYS_225" }, /* 225 */ + { MA, 0, printargs, "SYS_226" }, /* 226 */ + { MA, 0, printargs, "SYS_227" }, /* 227 */ + { MA, 0, printargs, "SYS_228" }, /* 228 */ + { MA, 0, printargs, "SYS_229" }, /* 229 */ + { MA, 0, printargs, "SYS_230" }, /* 230 */ + { MA, 0, printargs, "SYS_231" }, /* 231 */ + { MA, 0, printargs, "SYS_232" }, /* 232 */ + { MA, 0, printargs, "SYS_233" }, /* 233 */ + { MA, 0, printargs, "SYS_234" }, /* 234 */ + { MA, 0, printargs, "SYS_235" }, /* 235 */ + { MA, 0, printargs, "SYS_236" }, /* 236 */ + { MA, 0, printargs, "SYS_237" }, /* 237 */ + { MA, 0, printargs, "SYS_238" }, /* 238 */ + { MA, 0, printargs, "SYS_239" }, /* 239 */ + { MA, 0, printargs, "SYS_240" }, /* 240 */ + { MA, 0, printargs, "SYS_241" }, /* 241 */ + { MA, 0, printargs, "SYS_242" }, /* 242 */ + { MA, 0, printargs, "SYS_243" }, /* 243 */ + { MA, 0, printargs, "SYS_244" }, /* 244 */ + { MA, 0, printargs, "SYS_245" }, /* 245 */ + { MA, 0, printargs, "SYS_246" }, /* 246 */ + { MA, 0, printargs, "SYS_247" }, /* 247 */ + { MA, 0, printargs, "SYS_248" }, /* 248 */ + { MA, 0, printargs, "SYS_249" }, /* 249 */ + { MA, 0, printargs, "SYS_250" }, /* 250 */ + { MA, 0, printargs, "SYS_251" }, /* 251 */ + { MA, 0, printargs, "SYS_252" }, /* 252 */ + { MA, 0, printargs, "SYS_253" }, /* 253 */ + { MA, 0, printargs, "SYS_254" }, /* 254 */ + { MA, 0, printargs, "SYS_255" }, /* 255 */ #else /* !MIPS */ - { -1, TF, sys_lstat, "lstat" }, /* 88 */ - { -1, TF, sys_symlink, "symlink" }, /* 89 */ - { -1, TF, sys_readlink, "readlink" }, /* 90 */ - { -1, 0, sys_setgroups, "setgroups" }, /* 91 */ - { -1, 0, sys_getgroups, "getgroups" }, /* 92 */ - { -1, TD, sys_fchmod, "fchmod" }, /* 93 */ - { -1, TD, sys_fchown, "fchown" }, /* 94 */ - { -1, TS, sys_sigprocmask, "sigprocmask" }, /* 95 */ - { -1, TS, sys_sigsuspend, "sigsuspend" }, /* 96 */ - { -1, TS, sys_sigaltstack, "sigaltstack" }, /* 97 */ - { -1, TS, sys_sigaction, "sigaction" }, /* 98 */ - { -1, 0, sys_spcall, "spcall" }, /* 99 */ - { -1, 0, sys_context, "context" }, /* 100 */ - { -1, 0, sys_evsys, "evsys" }, /* 101 */ - { -1, 0, sys_evtrapret, "evtrapret" }, /* 102 */ - { -1, TF, sys_statvfs, "statvfs" }, /* 103 */ - { -1, 0, sys_fstatvfs, "fstatvfs" }, /* 104 */ - { -1, 0, printargs, "SYS_105" }, /* 105 */ - { -1, 0, sys_nfssys, "nfssys" }, /* 106 */ + { MA, TF, sys_lstat, "lstat" }, /* 88 */ + { MA, TF, sys_symlink, "symlink" }, /* 89 */ + { MA, TF, sys_readlink, "readlink" }, /* 90 */ + { MA, 0, sys_setgroups, "setgroups" }, /* 91 */ + { MA, 0, sys_getgroups, "getgroups" }, /* 92 */ + { MA, TD, sys_fchmod, "fchmod" }, /* 93 */ + { MA, TD, sys_fchown, "fchown" }, /* 94 */ + { MA, TS, sys_sigprocmask, "sigprocmask" }, /* 95 */ + { MA, TS, sys_sigsuspend, "sigsuspend" }, /* 96 */ + { MA, TS, sys_sigaltstack, "sigaltstack" }, /* 97 */ + { MA, TS, sys_sigaction, "sigaction" }, /* 98 */ + { MA, 0, sys_spcall, "spcall" }, /* 99 */ + { MA, 0, sys_context, "context" }, /* 100 */ + { MA, 0, sys_evsys, "evsys" }, /* 101 */ + { MA, 0, sys_evtrapret, "evtrapret" }, /* 102 */ + { MA, TF, sys_statvfs, "statvfs" }, /* 103 */ + { MA, 0, sys_fstatvfs, "fstatvfs" }, /* 104 */ + { MA, 0, printargs, "SYS_105" }, /* 105 */ + { MA, 0, sys_nfssys, "nfssys" }, /* 106 */ #if UNIXWARE - { -1, TP, sys_waitsys, "waitsys" }, /* 107 */ + { MA, TP, sys_waitsys, "waitsys" }, /* 107 */ #else - { -1, TP, sys_waitid, "waitid" }, /* 107 */ + { MA, TP, sys_waitid, "waitid" }, /* 107 */ #endif - { -1, 0, sys_sigsendsys, "sigsendsys" }, /* 108 */ - { -1, 0, sys_hrtsys, "hrtsys" }, /* 109 */ - { -1, 0, sys_acancel, "acancel" }, /* 110 */ - { -1, 0, sys_async, "async" }, /* 111 */ - { -1, 0, sys_priocntlsys, "priocntlsys" }, /* 112 */ - { -1, TF, sys_pathconf, "pathconf" }, /* 113 */ - { -1, 0, sys_mincore, "mincore" }, /* 114 */ - { -1, 0, sys_mmap, "mmap" }, /* 115 */ - { -1, 0, sys_mprotect, "mprotect" }, /* 116 */ - { -1, 0, sys_munmap, "munmap" }, /* 117 */ - { -1, 0, sys_fpathconf, "fpathconf" }, /* 118 */ - { -1, TP, sys_vfork, "vfork" }, /* 119 */ - { -1, TD, sys_fchdir, "fchdir" }, /* 120 */ - { -1, TD, sys_readv, "readv" }, /* 121 */ - { -1, TD, sys_writev, "writev" }, /* 122 */ - { -1, TF, sys_xstat, "xstat" }, /* 123 */ - { -1, TF, sys_lxstat, "lxstat" }, /* 124 */ - { -1, 0, sys_fxstat, "fxstat" }, /* 125 */ - { -1, TF, sys_xmknod, "xmknod" }, /* 126 */ - { -1, 0, sys_clocal, "clocal" }, /* 127 */ - { -1, 0, sys_setrlimit, "setrlimit" }, /* 128 */ - { -1, 0, sys_getrlimit, "getrlimit" }, /* 129 */ - { -1, TF, sys_lchown, "lchown" }, /* 130 */ - { -1, 0, sys_memcntl, "memcntl" }, /* 131 */ - { -1, TN, sys_getpmsg, "getpmsg" }, /* 132 */ - { -1, TN, sys_putpmsg, "putpmsg" }, /* 133 */ - { -1, TF, sys_rename, "rename" }, /* 134 */ - { -1, 0, sys_uname, "uname" }, /* 135 */ - { -1, 0, sys_setegid, "setegid" }, /* 136 */ - { -1, 0, sys_sysconfig, "sysconfig" }, /* 137 */ - { -1, 0, sys_adjtime, "adjtime" }, /* 138 */ - { -1, 0, sys_sysinfo, "sysinfo" }, /* 139 */ - { -1, 0, printargs, "SYS_140" }, /* 140 */ + { MA, 0, sys_sigsendsys, "sigsendsys" }, /* 108 */ + { MA, 0, sys_hrtsys, "hrtsys" }, /* 109 */ + { MA, 0, sys_acancel, "acancel" }, /* 110 */ + { MA, 0, sys_async, "async" }, /* 111 */ + { MA, 0, sys_priocntlsys, "priocntlsys" }, /* 112 */ + { MA, TF, sys_pathconf, "pathconf" }, /* 113 */ + { MA, 0, sys_mincore, "mincore" }, /* 114 */ + { MA, 0, sys_mmap, "mmap" }, /* 115 */ + { MA, 0, sys_mprotect, "mprotect" }, /* 116 */ + { MA, 0, sys_munmap, "munmap" }, /* 117 */ + { MA, 0, sys_fpathconf, "fpathconf" }, /* 118 */ + { MA, TP, sys_vfork, "vfork" }, /* 119 */ + { MA, TD, sys_fchdir, "fchdir" }, /* 120 */ + { MA, TD, sys_readv, "readv" }, /* 121 */ + { MA, TD, sys_writev, "writev" }, /* 122 */ + { MA, TF, sys_xstat, "xstat" }, /* 123 */ + { MA, TF, sys_lxstat, "lxstat" }, /* 124 */ + { MA, 0, sys_fxstat, "fxstat" }, /* 125 */ + { MA, TF, sys_xmknod, "xmknod" }, /* 126 */ + { MA, 0, sys_clocal, "clocal" }, /* 127 */ + { MA, 0, sys_setrlimit, "setrlimit" }, /* 128 */ + { MA, 0, sys_getrlimit, "getrlimit" }, /* 129 */ + { MA, TF, sys_lchown, "lchown" }, /* 130 */ + { MA, 0, sys_memcntl, "memcntl" }, /* 131 */ + { MA, TN, sys_getpmsg, "getpmsg" }, /* 132 */ + { MA, TN, sys_putpmsg, "putpmsg" }, /* 133 */ + { MA, TF, sys_rename, "rename" }, /* 134 */ + { MA, 0, sys_uname, "uname" }, /* 135 */ + { MA, 0, sys_setegid, "setegid" }, /* 136 */ + { MA, 0, sys_sysconfig, "sysconfig" }, /* 137 */ + { MA, 0, sys_adjtime, "adjtime" }, /* 138 */ + { MA, 0, sys_sysinfo, "sysinfo" }, /* 139 */ + { MA, 0, printargs, "SYS_140" }, /* 140 */ #if UNIXWARE >= 2 - { -1, 0, sys_seteuid, "seteuid" }, /* 141 */ - { -1, 0, printargs, "SYS_142" }, /* 142 */ - { -1, 0, sys_keyctl, "keyctl" }, /* 143 */ - { -1, 0, sys_secsys, "secsys" }, /* 144 */ - { -1, 0, sys_filepriv, "filepriv" }, /* 145 */ - { -1, 0, sys_procpriv, "procpriv" }, /* 146 */ - { -1, 0, sys_devstat, "devstat" }, /* 147 */ - { -1, 0, sys_aclipc, "aclipc" }, /* 148 */ - { -1, 0, sys_fdevstat, "fdevstat" }, /* 149 */ - { -1, 0, sys_flvlfile, "flvlfile" }, /* 150 */ - { -1, 0, sys_lvlfile, "lvlfile" }, /* 151 */ - { -1, 0, printargs, "SYS_152" }, /* 152 */ - { -1, 0, sys_lvlequal, "lvlequal" }, /* 153 */ - { -1, 0, sys_lvlproc, "lvlproc" }, /* 154 */ - { -1, 0, printargs, "SYS_155" }, /* 155 */ - { -1, 0, sys_lvlipc, "lvlipc" }, /* 156 */ - { -1, 0, sys_acl, "acl" }, /* 157 */ - { -1, 0, sys_auditevt, "auditevt" }, /* 158 */ - { -1, 0, sys_auditctl, "auditctl" }, /* 159 */ - { -1, 0, sys_auditdmp, "auditdmp" }, /* 160 */ - { -1, 0, sys_auditlog, "auditlog" }, /* 161 */ - { -1, 0, sys_auditbuf, "auditbuf" }, /* 162 */ - { -1, 0, sys_lvldom, "lvldom" }, /* 163 */ - { -1, 0, sys_lvlvfs, "lvlvfs" }, /* 164 */ - { -1, 0, sys_mkmld, "mkmld" }, /* 165 */ - { -1, 0, sys_mldmode, "mldmode" }, /* 166 */ - { -1, 0, sys_secadvise, "secadvise" }, /* 167 */ - { -1, 0, sys_online, "online" }, /* 168 */ - { -1, 0, sys_setitimer, "setitimer" }, /* 169 */ - { -1, 0, sys_getitimer, "getitimer" }, /* 170 */ - { -1, 0, sys_gettimeofday, "gettimeofday" }, /* 171 */ - { -1, 0, sys_settimeofday, "settimeofday" }, /* 172 */ - { -1, 0, sys_lwp_create, "lwpcreate" }, /* 173 */ - { -1, 0, sys_lwp_exit, "lwpexit" }, /* 174 */ - { -1, 0, sys_lwp_wait, "lwpwait" }, /* 175 */ - { -1, 0, sys_lwp_self, "lwpself" }, /* 176 */ - { -1, 0, sys_lwpinfo, "lwpinfo" }, /* 177 */ - { -1, 0, sys_lwpprivate, "lwpprivate" }, /* 178 */ - { -1, 0, sys_processor_bind, "processor_bind"}, /* 179 */ - { -1, 0, sys_processor_exbind, "processor_exbind"}, /* 180 */ - { -1, 0, printargs, "SYS_181" }, /* 181 */ - { -1, 0, printargs, "SYS_182" }, /* 182 */ - { -1, 0, sys_prepblock, "prepblock" }, /* 183 */ - { -1, 0, sys_block, "block" }, /* 184 */ - { -1, 0, sys_rdblock, "rdblock" }, /* 185 */ - { -1, 0, sys_unblock, "unblock" }, /* 186 */ - { -1, 0, sys_cancelblock, "cancelblock" }, /* 187 */ - { -1, 0, printargs, "SYS_188" }, /* 188 */ - { -1, TD, sys_pread, "pread" }, /* 189 */ - { -1, TD, sys_pwrite, "pwrite" }, /* 190 */ - { -1, TF, sys_truncate, "truncate" }, /* 191 */ - { -1, TD, sys_ftruncate, "ftruncate" }, /* 192 */ - { -1, 0, sys_lwpkill, "lwpkill" }, /* 193 */ - { -1, 0, sys_sigwait, "sigwait" }, /* 194 */ - { -1, 0, sys_fork1, "fork1" }, /* 195 */ - { -1, 0, sys_forkall, "forkall" }, /* 196 */ - { -1, 0, sys_modload, "modload" }, /* 197 */ - { -1, 0, sys_moduload, "moduload" }, /* 198 */ - { -1, 0, sys_modpath, "modpath" }, /* 199 */ - { -1, 0, sys_modstat, "modstat" }, /* 200 */ - { -1, 0, sys_modadm, "modadm" }, /* 201 */ - { -1, 0, sys_getksym, "getksym" }, /* 202 */ - { -1, 0, sys_lwpsuspend, "lwpsuspend" }, /* 203 */ - { -1, 0, sys_lwpcontinue, "lwpcontinue" }, /* 204 */ - { -1, 0, sys_priocntllst, "priocntllst" }, /* 205 */ - { -1, 0, sys_sleep, "sleep" }, /* 206 */ - { -1, 0, sys_lwp_sema_wait, "lwp_sema_wait" }, /* 207 */ - { -1, 0, sys_lwp_sema_post, "lwp_sema_post" }, /* 208 */ - { -1, 0, sys_lwp_sema_trywait, "lwp_sema_trywait"}, /* 209 */ - { -1, 0, printargs, "SYS_210" }, /* 210 */ - { -1, 0, printargs, "SYS_211" }, /* 211 */ - { -1, 0, printargs, "SYS_212" }, /* 212 */ - { -1, 0, printargs, "SYS_213" }, /* 213 */ - { -1, 0, printargs, "SYS_214" }, /* 214 */ - { -1, 0, printargs, "SYS_215" }, /* 215 */ + { MA, 0, sys_seteuid, "seteuid" }, /* 141 */ + { MA, 0, printargs, "SYS_142" }, /* 142 */ + { MA, 0, sys_keyctl, "keyctl" }, /* 143 */ + { MA, 0, sys_secsys, "secsys" }, /* 144 */ + { MA, 0, sys_filepriv, "filepriv" }, /* 145 */ + { MA, 0, sys_procpriv, "procpriv" }, /* 146 */ + { MA, 0, sys_devstat, "devstat" }, /* 147 */ + { MA, 0, sys_aclipc, "aclipc" }, /* 148 */ + { MA, 0, sys_fdevstat, "fdevstat" }, /* 149 */ + { MA, 0, sys_flvlfile, "flvlfile" }, /* 150 */ + { MA, 0, sys_lvlfile, "lvlfile" }, /* 151 */ + { MA, 0, printargs, "SYS_152" }, /* 152 */ + { MA, 0, sys_lvlequal, "lvlequal" }, /* 153 */ + { MA, 0, sys_lvlproc, "lvlproc" }, /* 154 */ + { MA, 0, printargs, "SYS_155" }, /* 155 */ + { MA, 0, sys_lvlipc, "lvlipc" }, /* 156 */ + { MA, 0, sys_acl, "acl" }, /* 157 */ + { MA, 0, sys_auditevt, "auditevt" }, /* 158 */ + { MA, 0, sys_auditctl, "auditctl" }, /* 159 */ + { MA, 0, sys_auditdmp, "auditdmp" }, /* 160 */ + { MA, 0, sys_auditlog, "auditlog" }, /* 161 */ + { MA, 0, sys_auditbuf, "auditbuf" }, /* 162 */ + { MA, 0, sys_lvldom, "lvldom" }, /* 163 */ + { MA, 0, sys_lvlvfs, "lvlvfs" }, /* 164 */ + { MA, 0, sys_mkmld, "mkmld" }, /* 165 */ + { MA, 0, sys_mldmode, "mldmode" }, /* 166 */ + { MA, 0, sys_secadvise, "secadvise" }, /* 167 */ + { MA, 0, sys_online, "online" }, /* 168 */ + { MA, 0, sys_setitimer, "setitimer" }, /* 169 */ + { MA, 0, sys_getitimer, "getitimer" }, /* 170 */ + { MA, 0, sys_gettimeofday, "gettimeofday" }, /* 171 */ + { MA, 0, sys_settimeofday, "settimeofday" }, /* 172 */ + { MA, 0, sys_lwp_create, "lwpcreate" }, /* 173 */ + { MA, 0, sys_lwp_exit, "lwpexit" }, /* 174 */ + { MA, 0, sys_lwp_wait, "lwpwait" }, /* 175 */ + { MA, 0, sys_lwp_self, "lwpself" }, /* 176 */ + { MA, 0, sys_lwpinfo, "lwpinfo" }, /* 177 */ + { MA, 0, sys_lwpprivate, "lwpprivate" }, /* 178 */ + { MA, 0, sys_processor_bind, "processor_bind"}, /* 179 */ + { MA, 0, sys_processor_exbind, "processor_exbind"}, /* 180 */ + { MA, 0, printargs, "SYS_181" }, /* 181 */ + { MA, 0, printargs, "SYS_182" }, /* 182 */ + { MA, 0, sys_prepblock, "prepblock" }, /* 183 */ + { MA, 0, sys_block, "block" }, /* 184 */ + { MA, 0, sys_rdblock, "rdblock" }, /* 185 */ + { MA, 0, sys_unblock, "unblock" }, /* 186 */ + { MA, 0, sys_cancelblock, "cancelblock" }, /* 187 */ + { MA, 0, printargs, "SYS_188" }, /* 188 */ + { MA, TD, sys_pread, "pread" }, /* 189 */ + { MA, TD, sys_pwrite, "pwrite" }, /* 190 */ + { MA, TF, sys_truncate, "truncate" }, /* 191 */ + { MA, TD, sys_ftruncate, "ftruncate" }, /* 192 */ + { MA, 0, sys_lwpkill, "lwpkill" }, /* 193 */ + { MA, 0, sys_sigwait, "sigwait" }, /* 194 */ + { MA, 0, sys_fork1, "fork1" }, /* 195 */ + { MA, 0, sys_forkall, "forkall" }, /* 196 */ + { MA, 0, sys_modload, "modload" }, /* 197 */ + { MA, 0, sys_moduload, "moduload" }, /* 198 */ + { MA, 0, sys_modpath, "modpath" }, /* 199 */ + { MA, 0, sys_modstat, "modstat" }, /* 200 */ + { MA, 0, sys_modadm, "modadm" }, /* 201 */ + { MA, 0, sys_getksym, "getksym" }, /* 202 */ + { MA, 0, sys_lwpsuspend, "lwpsuspend" }, /* 203 */ + { MA, 0, sys_lwpcontinue, "lwpcontinue" }, /* 204 */ + { MA, 0, sys_priocntllst, "priocntllst" }, /* 205 */ + { MA, 0, sys_sleep, "sleep" }, /* 206 */ + { MA, 0, sys_lwp_sema_wait, "lwp_sema_wait" }, /* 207 */ + { MA, 0, sys_lwp_sema_post, "lwp_sema_post" }, /* 208 */ + { MA, 0, sys_lwp_sema_trywait, "lwp_sema_trywait"}, /* 209 */ + { MA, 0, printargs, "SYS_210" }, /* 210 */ + { MA, 0, printargs, "SYS_211" }, /* 211 */ + { MA, 0, printargs, "SYS_212" }, /* 212 */ + { MA, 0, printargs, "SYS_213" }, /* 213 */ + { MA, 0, printargs, "SYS_214" }, /* 214 */ + { MA, 0, printargs, "SYS_215" }, /* 215 */ #if UNIXWARE >= 7 - { -1, 0, sys_fstatvfs64, "fstatvfs64" }, /* 216 */ - { -1, TF, sys_statvfs64, "statvfs64" }, /* 217 */ - { -1, TD, sys_ftruncate64, "ftruncate64" }, /* 218 */ - { -1, TF, sys_truncate64, "truncate64" }, /* 219 */ - { -1, 0, sys_getrlimit64, "getrlimit64" }, /* 220 */ - { -1, 0, sys_setrlimit64, "setrlimit64" }, /* 221 */ - { -1, TF, sys_lseek64, "lseek64" }, /* 222 */ - { -1, TF, sys_mmap64, "mmap64" }, /* 223 */ - { -1, TF, sys_pread64, "pread64" }, /* 224 */ - { -1, TF, sys_pwrite64, "pwrite64" }, /* 225 */ - { -1, TD|TF, sys_creat64, "creat64" }, /* 226 */ - { -1, 0, sys_dshmsys, "dshmsys" }, /* 227 */ - { -1, 0, sys_invlpg, "invlpg" }, /* 228 */ - { -1, 0, sys_rfork1, "rfork1" }, /* 229 */ - { -1, 0, sys_rforkall, "rforkall" }, /* 230 */ - { -1, 0, sys_rexecve, "rexecve" }, /* 231 */ - { -1, 0, sys_migrate, "migrate" }, /* 232 */ - { -1, 0, sys_kill3, "kill3" }, /* 233 */ - { -1, 0, sys_ssisys, "ssisys" }, /* 234 */ - { -1, TN, sys_xaccept, "xaccept" }, /* 235 */ - { -1, TN, sys_xbind, "xbind" }, /* 236 */ - { -1, TN, sys_xbindresvport, "xbindresvport" }, /* 237 */ - { -1, TN, sys_xconnect, "xconnect" }, /* 238 */ - { -1, TN, sys_xgetsockaddr, "xgetsockaddr" }, /* 239 */ - { -1, TN, sys_xgetsockopt, "xgetsockopt" }, /* 240 */ - { -1, TN, sys_xlisten, "xlisten" }, /* 241 */ - { -1, TN, sys_xrecvmsg, "xrecvmsg" }, /* 242 */ - { -1, TN, sys_xsendmsg, "xsendmsg" }, /* 243 */ - { -1, TN, sys_xsetsockaddr, "xsetsockaddr" }, /* 244 */ - { -1, TN, sys_xsetsockopt, "xsetsockopt" }, /* 245 */ - { -1, TN, sys_xshutdown, "xshutdown" }, /* 246 */ - { -1, TN, sys_xsocket, "xsocket" }, /* 247 */ - { -1, TN, sys_xsocketpair, "xsocketpair" }, /* 248 */ + { MA, 0, sys_fstatvfs64, "fstatvfs64" }, /* 216 */ + { MA, TF, sys_statvfs64, "statvfs64" }, /* 217 */ + { MA, TD, sys_ftruncate64, "ftruncate64" }, /* 218 */ + { MA, TF, sys_truncate64, "truncate64" }, /* 219 */ + { MA, 0, sys_getrlimit64, "getrlimit64" }, /* 220 */ + { MA, 0, sys_setrlimit64, "setrlimit64" }, /* 221 */ + { MA, TF, sys_lseek64, "lseek64" }, /* 222 */ + { MA, TF, sys_mmap64, "mmap64" }, /* 223 */ + { MA, TF, sys_pread64, "pread64" }, /* 224 */ + { MA, TF, sys_pwrite64, "pwrite64" }, /* 225 */ + { MA, TD|TF, sys_creat64, "creat64" }, /* 226 */ + { MA, 0, sys_dshmsys, "dshmsys" }, /* 227 */ + { MA, 0, sys_invlpg, "invlpg" }, /* 228 */ + { MA, 0, sys_rfork1, "rfork1" }, /* 229 */ + { MA, 0, sys_rforkall, "rforkall" }, /* 230 */ + { MA, 0, sys_rexecve, "rexecve" }, /* 231 */ + { MA, 0, sys_migrate, "migrate" }, /* 232 */ + { MA, 0, sys_kill3, "kill3" }, /* 233 */ + { MA, 0, sys_ssisys, "ssisys" }, /* 234 */ + { MA, TN, sys_xaccept, "xaccept" }, /* 235 */ + { MA, TN, sys_xbind, "xbind" }, /* 236 */ + { MA, TN, sys_xbindresvport, "xbindresvport" }, /* 237 */ + { MA, TN, sys_xconnect, "xconnect" }, /* 238 */ + { MA, TN, sys_xgetsockaddr, "xgetsockaddr" }, /* 239 */ + { MA, TN, sys_xgetsockopt, "xgetsockopt" }, /* 240 */ + { MA, TN, sys_xlisten, "xlisten" }, /* 241 */ + { MA, TN, sys_xrecvmsg, "xrecvmsg" }, /* 242 */ + { MA, TN, sys_xsendmsg, "xsendmsg" }, /* 243 */ + { MA, TN, sys_xsetsockaddr, "xsetsockaddr" }, /* 244 */ + { MA, TN, sys_xsetsockopt, "xsetsockopt" }, /* 245 */ + { MA, TN, sys_xshutdown, "xshutdown" }, /* 246 */ + { MA, TN, sys_xsocket, "xsocket" }, /* 247 */ + { MA, TN, sys_xsocketpair, "xsocketpair" }, /* 248 */ #else /* UNIXWARE 2 */ - { -1, 0, printargs, "SYS_216" }, /* 216 */ - { -1, 0, printargs, "SYS_217" }, /* 217 */ - { -1, 0, printargs, "SYS_218" }, /* 218 */ - { -1, 0, printargs, "SYS_219" }, /* 219 */ - { -1, 0, printargs, "SYS_220" }, /* 220 */ - { -1, 0, printargs, "SYS_221" }, /* 221 */ - { -1, 0, printargs, "SYS_222" }, /* 222 */ - { -1, 0, printargs, "SYS_223" }, /* 223 */ - { -1, 0, printargs, "SYS_224" }, /* 224 */ - { -1, 0, printargs, "SYS_225" }, /* 225 */ - { -1, 0, printargs, "SYS_226" }, /* 226 */ - { -1, 0, printargs, "SYS_227" }, /* 227 */ - { -1, 0, printargs, "SYS_228" }, /* 228 */ - { -1, 0, printargs, "SYS_229" }, /* 229 */ - { -1, 0, printargs, "SYS_230" }, /* 230 */ - { -1, 0, printargs, "SYS_231" }, /* 231 */ - { -1, 0, printargs, "SYS_232" }, /* 232 */ - { -1, 0, printargs, "SYS_233" }, /* 233 */ - { -1, 0, printargs, "SYS_234" }, /* 234 */ - { -1, 0, printargs, "SYS_235" }, /* 235 */ - { -1, 0, printargs, "SYS_236" }, /* 236 */ - { -1, 0, printargs, "SYS_237" }, /* 237 */ - { -1, 0, printargs, "SYS_238" }, /* 238 */ - { -1, 0, printargs, "SYS_239" }, /* 239 */ - { -1, 0, printargs, "SYS_240" }, /* 240 */ - { -1, 0, printargs, "SYS_241" }, /* 241 */ - { -1, 0, printargs, "SYS_242" }, /* 242 */ - { -1, 0, printargs, "SYS_243" }, /* 243 */ - { -1, 0, printargs, "SYS_244" }, /* 244 */ - { -1, 0, printargs, "SYS_245" }, /* 245 */ - { -1, 0, printargs, "SYS_246" }, /* 246 */ - { -1, 0, printargs, "SYS_247" }, /* 247 */ - { -1, 0, printargs, "SYS_248" }, /* 248 */ + { MA, 0, printargs, "SYS_216" }, /* 216 */ + { MA, 0, printargs, "SYS_217" }, /* 217 */ + { MA, 0, printargs, "SYS_218" }, /* 218 */ + { MA, 0, printargs, "SYS_219" }, /* 219 */ + { MA, 0, printargs, "SYS_220" }, /* 220 */ + { MA, 0, printargs, "SYS_221" }, /* 221 */ + { MA, 0, printargs, "SYS_222" }, /* 222 */ + { MA, 0, printargs, "SYS_223" }, /* 223 */ + { MA, 0, printargs, "SYS_224" }, /* 224 */ + { MA, 0, printargs, "SYS_225" }, /* 225 */ + { MA, 0, printargs, "SYS_226" }, /* 226 */ + { MA, 0, printargs, "SYS_227" }, /* 227 */ + { MA, 0, printargs, "SYS_228" }, /* 228 */ + { MA, 0, printargs, "SYS_229" }, /* 229 */ + { MA, 0, printargs, "SYS_230" }, /* 230 */ + { MA, 0, printargs, "SYS_231" }, /* 231 */ + { MA, 0, printargs, "SYS_232" }, /* 232 */ + { MA, 0, printargs, "SYS_233" }, /* 233 */ + { MA, 0, printargs, "SYS_234" }, /* 234 */ + { MA, 0, printargs, "SYS_235" }, /* 235 */ + { MA, 0, printargs, "SYS_236" }, /* 236 */ + { MA, 0, printargs, "SYS_237" }, /* 237 */ + { MA, 0, printargs, "SYS_238" }, /* 238 */ + { MA, 0, printargs, "SYS_239" }, /* 239 */ + { MA, 0, printargs, "SYS_240" }, /* 240 */ + { MA, 0, printargs, "SYS_241" }, /* 241 */ + { MA, 0, printargs, "SYS_242" }, /* 242 */ + { MA, 0, printargs, "SYS_243" }, /* 243 */ + { MA, 0, printargs, "SYS_244" }, /* 244 */ + { MA, 0, printargs, "SYS_245" }, /* 245 */ + { MA, 0, printargs, "SYS_246" }, /* 246 */ + { MA, 0, printargs, "SYS_247" }, /* 247 */ + { MA, 0, printargs, "SYS_248" }, /* 248 */ #endif /* UNIXWARE 2 */ - { -1, 0, printargs, "SYS_249" }, /* 249 */ - { -1, 0, printargs, "SYS_250" }, /* 250 */ - { -1, 0, printargs, "SYS_251" }, /* 251 */ - { -1, 0, printargs, "SYS_252" }, /* 252 */ - { -1, 0, printargs, "SYS_253" }, /* 253 */ - { -1, 0, printargs, "SYS_254" }, /* 254 */ - { -1, 0, printargs, "SYS_255" }, /* 255 */ + { MA, 0, printargs, "SYS_249" }, /* 249 */ + { MA, 0, printargs, "SYS_250" }, /* 250 */ + { MA, 0, printargs, "SYS_251" }, /* 251 */ + { MA, 0, printargs, "SYS_252" }, /* 252 */ + { MA, 0, printargs, "SYS_253" }, /* 253 */ + { MA, 0, printargs, "SYS_254" }, /* 254 */ + { MA, 0, printargs, "SYS_255" }, /* 255 */ #else /* !UNIXWARE */ - { -1, 0, sys_seteuid, "seteuid" }, /* 141 */ - { -1, 0, sys_vtrace, "vtrace" }, /* 142 */ - { -1, TP, sys_fork1, "fork1" }, /* 143 */ - { -1, TS, sys_sigtimedwait, "sigtimedwait" }, /* 144 */ - { -1, 0, sys_lwp_info, "lwp_info" }, /* 145 */ - { -1, 0, sys_yield, "yield" }, /* 146 */ - { -1, 0, sys_lwp_sema_wait, "lwp_sema_wait" }, /* 147 */ - { -1, 0, sys_lwp_sema_post, "lwp_sema_post" }, /* 148 */ - { -1, 0, sys_lwp_sema_trywait,"lwp_sema_trywait" }, /* 149 */ - { -1, 0, printargs, "SYS_150" }, /* 150 */ - { -1, 0, printargs, "SYS_151" }, /* 151 */ - { -1, 0, sys_modctl, "modctl" }, /* 152 */ - { -1, 0, sys_fchroot, "fchroot" }, /* 153 */ - { -1, TF, sys_utimes, "utimes" }, /* 154 */ - { -1, 0, sys_vhangup, "vhangup" }, /* 155 */ - { -1, 0, sys_gettimeofday, "gettimeofday" }, /* 156 */ - { -1, 0, sys_getitimer, "getitimer" }, /* 157 */ - { -1, 0, sys_setitimer, "setitimer" }, /* 158 */ - { -1, 0, sys_lwp_create, "lwp_create" }, /* 159 */ - { -1, 0, sys_lwp_exit, "lwp_exit" }, /* 160 */ - { -1, 0, sys_lwp_suspend, "lwp_suspend" }, /* 161 */ - { -1, 0, sys_lwp_continue, "lwp_continue" }, /* 162 */ - { -1, 0, sys_lwp_kill, "lwp_kill" }, /* 163 */ - { -1, 0, sys_lwp_self, "lwp_self" }, /* 164 */ - { -1, 0, sys_lwp_setprivate, "lwp_setprivate"}, /* 165 */ - { -1, 0, sys_lwp_getprivate, "lwp_getprivate"}, /* 166 */ - { -1, 0, sys_lwp_wait, "lwp_wait" }, /* 167 */ - { -1, 0, sys_lwp_mutex_unlock, "lwp_mutex_unlock"}, /* 168 */ - { -1, 0, sys_lwp_mutex_lock, "lwp_mutex_lock"}, /* 169 */ - { -1, 0, sys_lwp_cond_wait, "lwp_cond_wait"}, /* 170 */ - { -1, 0, sys_lwp_cond_signal, "lwp_cond_signal"}, /* 171 */ - { -1, 0, sys_lwp_cond_broadcast, "lwp_cond_broadcast"}, /* 172 */ - { -1, TD, sys_pread, "pread" }, /* 173 */ - { -1, TD, sys_pwrite, "pwrite" }, /* 174 */ - { -1, TD, sys_llseek, "llseek" }, /* 175 */ - { -1, 0, sys_inst_sync, "inst_sync" }, /* 176 */ - { -1, 0, printargs, "srmlimitsys" }, /* 177 */ - { -1, 0, sys_kaio, "kaio" }, /* 178 */ - { -1, 0, printargs, "cpc" }, /* 179 */ - { -1, 0, printargs, "SYS_180" }, /* 180 */ - { -1, 0, printargs, "SYS_181" }, /* 181 */ - { -1, 0, printargs, "SYS_182" }, /* 182 */ - { -1, 0, printargs, "SYS_183" }, /* 183 */ - { -1, 0, sys_tsolsys, "tsolsys" }, /* 184 */ + { MA, 0, sys_seteuid, "seteuid" }, /* 141 */ + { MA, 0, sys_vtrace, "vtrace" }, /* 142 */ + { MA, TP, sys_fork1, "fork1" }, /* 143 */ + { MA, TS, sys_sigtimedwait, "sigtimedwait" }, /* 144 */ + { MA, 0, sys_lwp_info, "lwp_info" }, /* 145 */ + { MA, 0, sys_yield, "yield" }, /* 146 */ + { MA, 0, sys_lwp_sema_wait, "lwp_sema_wait" }, /* 147 */ + { MA, 0, sys_lwp_sema_post, "lwp_sema_post" }, /* 148 */ + { MA, 0, sys_lwp_sema_trywait,"lwp_sema_trywait" }, /* 149 */ + { MA, 0, printargs, "SYS_150" }, /* 150 */ + { MA, 0, printargs, "SYS_151" }, /* 151 */ + { MA, 0, sys_modctl, "modctl" }, /* 152 */ + { MA, 0, sys_fchroot, "fchroot" }, /* 153 */ + { MA, TF, sys_utimes, "utimes" }, /* 154 */ + { MA, 0, sys_vhangup, "vhangup" }, /* 155 */ + { MA, 0, sys_gettimeofday, "gettimeofday" }, /* 156 */ + { MA, 0, sys_getitimer, "getitimer" }, /* 157 */ + { MA, 0, sys_setitimer, "setitimer" }, /* 158 */ + { MA, 0, sys_lwp_create, "lwp_create" }, /* 159 */ + { MA, 0, sys_lwp_exit, "lwp_exit" }, /* 160 */ + { MA, 0, sys_lwp_suspend, "lwp_suspend" }, /* 161 */ + { MA, 0, sys_lwp_continue, "lwp_continue" }, /* 162 */ + { MA, 0, sys_lwp_kill, "lwp_kill" }, /* 163 */ + { MA, 0, sys_lwp_self, "lwp_self" }, /* 164 */ + { MA, 0, sys_lwp_setprivate, "lwp_setprivate"}, /* 165 */ + { MA, 0, sys_lwp_getprivate, "lwp_getprivate"}, /* 166 */ + { MA, 0, sys_lwp_wait, "lwp_wait" }, /* 167 */ + { MA, 0, sys_lwp_mutex_unlock, "lwp_mutex_unlock"}, /* 168 */ + { MA, 0, sys_lwp_mutex_lock, "lwp_mutex_lock"}, /* 169 */ + { MA, 0, sys_lwp_cond_wait, "lwp_cond_wait"}, /* 170 */ + { MA, 0, sys_lwp_cond_signal, "lwp_cond_signal"}, /* 171 */ + { MA, 0, sys_lwp_cond_broadcast, "lwp_cond_broadcast"}, /* 172 */ + { MA, TD, sys_pread, "pread" }, /* 173 */ + { MA, TD, sys_pwrite, "pwrite" }, /* 174 */ + { MA, TD, sys_llseek, "llseek" }, /* 175 */ + { MA, 0, sys_inst_sync, "inst_sync" }, /* 176 */ + { MA, 0, printargs, "srmlimitsys" }, /* 177 */ + { MA, 0, sys_kaio, "kaio" }, /* 178 */ + { MA, 0, printargs, "cpc" }, /* 179 */ + { MA, 0, printargs, "SYS_180" }, /* 180 */ + { MA, 0, printargs, "SYS_181" }, /* 181 */ + { MA, 0, printargs, "SYS_182" }, /* 182 */ + { MA, 0, printargs, "SYS_183" }, /* 183 */ + { MA, 0, sys_tsolsys, "tsolsys" }, /* 184 */ #ifdef HAVE_SYS_ACL_H - { -1, TF, sys_acl, "acl" }, /* 185 */ + { MA, TF, sys_acl, "acl" }, /* 185 */ #else - { -1, 0, printargs, "SYS_185" }, /* 185 */ + { MA, 0, printargs, "SYS_185" }, /* 185 */ #endif - { -1, 0, sys_auditsys, "auditsys" }, /* 186 */ - { -1, 0, sys_processor_bind, "processor_bind"}, /* 187 */ - { -1, 0, sys_processor_info, "processor_info"}, /* 188 */ - { -1, 0, sys_p_online, "p_online" }, /* 189 */ - { -1, 0, sys_sigqueue, "sigqueue" }, /* 190 */ - { -1, 0, sys_clock_gettime, "clock_gettime" }, /* 191 */ - { -1, 0, sys_clock_settime, "clock_settime" }, /* 192 */ - { -1, 0, sys_clock_getres, "clock_getres" }, /* 193 */ - { -1, 0, sys_timer_create, "timer_create" }, /* 194 */ - { -1, 0, sys_timer_delete, "timer_delete" }, /* 195 */ - { -1, 0, sys_timer_settime, "timer_settime" }, /* 196 */ - { -1, 0, sys_timer_gettime, "timer_gettime" }, /* 197 */ - { -1, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 198 */ - { -1, 0, sys_nanosleep, "nanosleep" }, /* 199 */ + { MA, 0, sys_auditsys, "auditsys" }, /* 186 */ + { MA, 0, sys_processor_bind, "processor_bind"}, /* 187 */ + { MA, 0, sys_processor_info, "processor_info"}, /* 188 */ + { MA, 0, sys_p_online, "p_online" }, /* 189 */ + { MA, 0, sys_sigqueue, "sigqueue" }, /* 190 */ + { MA, 0, sys_clock_gettime, "clock_gettime" }, /* 191 */ + { MA, 0, sys_clock_settime, "clock_settime" }, /* 192 */ + { MA, 0, sys_clock_getres, "clock_getres" }, /* 193 */ + { MA, 0, sys_timer_create, "timer_create" }, /* 194 */ + { MA, 0, sys_timer_delete, "timer_delete" }, /* 195 */ + { MA, 0, sys_timer_settime, "timer_settime" }, /* 196 */ + { MA, 0, sys_timer_gettime, "timer_gettime" }, /* 197 */ + { MA, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 198 */ + { MA, 0, sys_nanosleep, "nanosleep" }, /* 199 */ #ifdef HAVE_SYS_ACL_H - { -1, 0, sys_facl, "facl" }, /* 200 */ + { MA, 0, sys_facl, "facl" }, /* 200 */ #else - { -1, 0, printargs, "SYS_200" }, /* 200 */ + { MA, 0, printargs, "SYS_200" }, /* 200 */ #endif #ifdef HAVE_SYS_DOOR_H - { -1, 0, sys_door, "door" }, /* 201 */ + { MA, 0, sys_door, "door" }, /* 201 */ #else - { -1, 0, printargs, "SYS_201" }, /* 201 */ + { MA, 0, printargs, "SYS_201" }, /* 201 */ #endif - { -1, 0, sys_setreuid, "setreuid" }, /* 202 */ - { -1, 0, sys_setregid, "setregid" }, /* 203 */ - { -1, 0, sys_install_utrap, "install_utrap" }, /* 204 */ - { -1, 0, sys_signotify, "signotify" }, /* 205 */ - { -1, 0, sys_schedctl, "schedctl" }, /* 206 */ - { -1, 0, sys_pset, "pset" }, /* 207 */ - { -1, 0, printargs, "__sparc_utrap_install" }, /* 208 */ - { -1, 0, sys_resolvepath, "resolvepath" }, /* 209 */ - { -1, 0, sys_signotifywait, "signotifywait" }, /* 210 */ - { -1, 0, sys_lwp_sigredirect, "lwp_sigredirect" }, /* 211 */ - { -1, 0, sys_lwp_alarm, "lwp_alarm" }, /* 212 */ - { -1, TD, sys_getdents64, "getdents64" }, /* 213 */ - { -1, 0, sys_mmap64, "mmap64" }, /* 214 */ - { -1, 0, sys_stat64, "stat64" }, /* 215 */ - { -1, 0, sys_lstat64, "lstat64" }, /* 216 */ - { -1, TD, sys_fstat64, "fstat64" }, /* 217 */ - { -1, 0, sys_statvfs64, "statvfs64" }, /* 218 */ - { -1, 0, sys_fstatvfs64, "fstatvfs64" }, /* 219 */ - { -1, 0, sys_setrlimit64, "setrlimit64" }, /* 220 */ - { -1, 0, sys_getrlimit64, "getrlimit64" }, /* 221 */ - { -1, TD, sys_pread64, "pread64" }, /* 222 */ - { -1, TD, sys_pwrite64, "pwrite64" }, /* 223 */ - { -1, 0, sys_creat64, "creat64" }, /* 224 */ - { -1, 0, sys_open64, "open64" }, /* 225 */ - { -1, 0, sys_rpcsys, "rpcsys" }, /* 226 */ - { -1, 0, printargs, "SYS_227" }, /* 227 */ - { -1, 0, printargs, "SYS_228" }, /* 228 */ - { -1, 0, printargs, "SYS_229" }, /* 229 */ - { -1, TN, sys_so_socket, "so_socket" }, /* 230 */ - { -1, TN, sys_so_socketpair, "so_socketpair" }, /* 231 */ - { -1, TN, sys_bind, "bind" }, /* 232 */ - { -1, TN, sys_listen, "listen" }, /* 233 */ - { -1, TN, sys_accept, "accept" }, /* 234 */ - { -1, TN, sys_connect, "connect" }, /* 235 */ - { -1, TN, sys_shutdown, "shutdown" }, /* 236 */ - { -1, TN, sys_recv, "recv" }, /* 237 */ - { -1, TN, sys_recvfrom, "recvfrom" }, /* 238 */ - { -1, TN, sys_recvmsg, "recvmsg" }, /* 239 */ - { -1, TN, sys_send, "send" }, /* 240 */ - { -1, TN, sys_sendmsg, "sendmsg" }, /* 241 */ - { -1, TN, sys_sendto, "sendto" }, /* 242 */ - { -1, TN, sys_getpeername, "getpeername" }, /* 243 */ - { -1, TN, sys_getsockname, "getsockname" }, /* 244 */ - { -1, TN, sys_getsockopt, "getsockopt" }, /* 245 */ - { -1, TN, sys_setsockopt, "setsockopt" }, /* 246 */ - { -1, TN, sys_sockconfig, "sockconfig" }, /* 247 */ - { -1, 0, sys_ntp_gettime, "ntp_gettime" }, /* 248 */ - { -1, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 249 */ - { -1, 0, printargs, "lwp_mutex_unlock" }, /* 250 */ - { -1, 0, printargs, "lwp_mutex_trylock" }, /* 251 */ - { -1, 0, printargs, "lwp_mutex_init" }, /* 252 */ - { -1, 0, printargs, "cladm" }, /* 253 */ - { -1, 0, printargs, "lwp_sig_timedwait" }, /* 254 */ - { -1, 0, printargs, "umount2" }, /* 255 */ + { MA, 0, sys_setreuid, "setreuid" }, /* 202 */ + { MA, 0, sys_setregid, "setregid" }, /* 203 */ + { MA, 0, sys_install_utrap, "install_utrap" }, /* 204 */ + { MA, 0, sys_signotify, "signotify" }, /* 205 */ + { MA, 0, sys_schedctl, "schedctl" }, /* 206 */ + { MA, 0, sys_pset, "pset" }, /* 207 */ + { MA, 0, printargs, "__sparc_utrap_install" }, /* 208 */ + { MA, 0, sys_resolvepath, "resolvepath" }, /* 209 */ + { MA, 0, sys_signotifywait, "signotifywait" }, /* 210 */ + { MA, 0, sys_lwp_sigredirect, "lwp_sigredirect" }, /* 211 */ + { MA, 0, sys_lwp_alarm, "lwp_alarm" }, /* 212 */ + { MA, TD, sys_getdents64, "getdents64" }, /* 213 */ + { MA, 0, sys_mmap64, "mmap64" }, /* 214 */ + { MA, 0, sys_stat64, "stat64" }, /* 215 */ + { MA, 0, sys_lstat64, "lstat64" }, /* 216 */ + { MA, TD, sys_fstat64, "fstat64" }, /* 217 */ + { MA, 0, sys_statvfs64, "statvfs64" }, /* 218 */ + { MA, 0, sys_fstatvfs64, "fstatvfs64" }, /* 219 */ + { MA, 0, sys_setrlimit64, "setrlimit64" }, /* 220 */ + { MA, 0, sys_getrlimit64, "getrlimit64" }, /* 221 */ + { MA, TD, sys_pread64, "pread64" }, /* 222 */ + { MA, TD, sys_pwrite64, "pwrite64" }, /* 223 */ + { MA, 0, sys_creat64, "creat64" }, /* 224 */ + { MA, 0, sys_open64, "open64" }, /* 225 */ + { MA, 0, sys_rpcsys, "rpcsys" }, /* 226 */ + { MA, 0, printargs, "SYS_227" }, /* 227 */ + { MA, 0, printargs, "SYS_228" }, /* 228 */ + { MA, 0, printargs, "SYS_229" }, /* 229 */ + { MA, TN, sys_so_socket, "so_socket" }, /* 230 */ + { MA, TN, sys_so_socketpair, "so_socketpair" }, /* 231 */ + { MA, TN, sys_bind, "bind" }, /* 232 */ + { MA, TN, sys_listen, "listen" }, /* 233 */ + { MA, TN, sys_accept, "accept" }, /* 234 */ + { MA, TN, sys_connect, "connect" }, /* 235 */ + { MA, TN, sys_shutdown, "shutdown" }, /* 236 */ + { MA, TN, sys_recv, "recv" }, /* 237 */ + { MA, TN, sys_recvfrom, "recvfrom" }, /* 238 */ + { MA, TN, sys_recvmsg, "recvmsg" }, /* 239 */ + { MA, TN, sys_send, "send" }, /* 240 */ + { MA, TN, sys_sendmsg, "sendmsg" }, /* 241 */ + { MA, TN, sys_sendto, "sendto" }, /* 242 */ + { MA, TN, sys_getpeername, "getpeername" }, /* 243 */ + { MA, TN, sys_getsockname, "getsockname" }, /* 244 */ + { MA, TN, sys_getsockopt, "getsockopt" }, /* 245 */ + { MA, TN, sys_setsockopt, "setsockopt" }, /* 246 */ + { MA, TN, sys_sockconfig, "sockconfig" }, /* 247 */ + { MA, 0, sys_ntp_gettime, "ntp_gettime" }, /* 248 */ + { MA, 0, sys_ntp_adjtime, "ntp_adjtime" }, /* 249 */ + { MA, 0, printargs, "lwp_mutex_unlock" }, /* 250 */ + { MA, 0, printargs, "lwp_mutex_trylock" }, /* 251 */ + { MA, 0, printargs, "lwp_mutex_init" }, /* 252 */ + { MA, 0, printargs, "cladm" }, /* 253 */ + { MA, 0, printargs, "lwp_sig_timedwait" }, /* 254 */ + { MA, 0, printargs, "umount2" }, /* 255 */ #endif /* !UNIXWARE */ #endif /* !MIPS */ - { -1, 0, printargs, "SYS_256" }, /* 256 */ - { -1, 0, printargs, "SYS_257" }, /* 257 */ - { -1, 0, printargs, "SYS_258" }, /* 258 */ - { -1, 0, printargs, "SYS_259" }, /* 259 */ - { -1, 0, printargs, "SYS_260" }, /* 260 */ - { -1, 0, printargs, "SYS_261" }, /* 261 */ - { -1, 0, printargs, "SYS_262" }, /* 262 */ - { -1, 0, printargs, "SYS_263" }, /* 263 */ - { -1, 0, printargs, "SYS_264" }, /* 264 */ - { -1, 0, printargs, "SYS_265" }, /* 265 */ - { -1, 0, printargs, "SYS_266" }, /* 266 */ - { -1, 0, printargs, "SYS_267" }, /* 267 */ - { -1, 0, printargs, "SYS_268" }, /* 268 */ - { -1, 0, printargs, "SYS_269" }, /* 269 */ - { -1, 0, printargs, "SYS_270" }, /* 270 */ - { -1, 0, printargs, "SYS_271" }, /* 271 */ - { -1, 0, printargs, "SYS_272" }, /* 272 */ - { -1, 0, printargs, "SYS_273" }, /* 273 */ - { -1, 0, printargs, "SYS_274" }, /* 274 */ - { -1, 0, printargs, "SYS_275" }, /* 275 */ - { -1, 0, printargs, "SYS_276" }, /* 276 */ - { -1, 0, printargs, "SYS_277" }, /* 277 */ - { -1, 0, printargs, "SYS_278" }, /* 278 */ - { -1, 0, printargs, "SYS_279" }, /* 279 */ - { -1, 0, printargs, "SYS_280" }, /* 280 */ - { -1, 0, printargs, "SYS_281" }, /* 281 */ - { -1, 0, printargs, "SYS_282" }, /* 282 */ - { -1, 0, printargs, "SYS_283" }, /* 283 */ - { -1, 0, printargs, "SYS_284" }, /* 284 */ - { -1, 0, printargs, "SYS_285" }, /* 285 */ - { -1, 0, printargs, "SYS_286" }, /* 286 */ - { -1, 0, printargs, "SYS_287" }, /* 287 */ - { -1, 0, printargs, "SYS_288" }, /* 288 */ - { -1, 0, printargs, "SYS_289" }, /* 289 */ - { -1, 0, printargs, "SYS_290" }, /* 290 */ - { -1, 0, printargs, "SYS_291" }, /* 291 */ - { -1, 0, printargs, "SYS_292" }, /* 292 */ - { -1, 0, printargs, "SYS_293" }, /* 293 */ - { -1, 0, printargs, "SYS_294" }, /* 294 */ - { -1, 0, printargs, "SYS_295" }, /* 295 */ - { -1, 0, printargs, "SYS_296" }, /* 296 */ - { -1, 0, printargs, "SYS_297" }, /* 297 */ - { -1, 0, printargs, "SYS_298" }, /* 298 */ - { -1, 0, printargs, "SYS_299" }, /* 299 */ + { MA, 0, printargs, "SYS_256" }, /* 256 */ + { MA, 0, printargs, "SYS_257" }, /* 257 */ + { MA, 0, printargs, "SYS_258" }, /* 258 */ + { MA, 0, printargs, "SYS_259" }, /* 259 */ + { MA, 0, printargs, "SYS_260" }, /* 260 */ + { MA, 0, printargs, "SYS_261" }, /* 261 */ + { MA, 0, printargs, "SYS_262" }, /* 262 */ + { MA, 0, printargs, "SYS_263" }, /* 263 */ + { MA, 0, printargs, "SYS_264" }, /* 264 */ + { MA, 0, printargs, "SYS_265" }, /* 265 */ + { MA, 0, printargs, "SYS_266" }, /* 266 */ + { MA, 0, printargs, "SYS_267" }, /* 267 */ + { MA, 0, printargs, "SYS_268" }, /* 268 */ + { MA, 0, printargs, "SYS_269" }, /* 269 */ + { MA, 0, printargs, "SYS_270" }, /* 270 */ + { MA, 0, printargs, "SYS_271" }, /* 271 */ + { MA, 0, printargs, "SYS_272" }, /* 272 */ + { MA, 0, printargs, "SYS_273" }, /* 273 */ + { MA, 0, printargs, "SYS_274" }, /* 274 */ + { MA, 0, printargs, "SYS_275" }, /* 275 */ + { MA, 0, printargs, "SYS_276" }, /* 276 */ + { MA, 0, printargs, "SYS_277" }, /* 277 */ + { MA, 0, printargs, "SYS_278" }, /* 278 */ + { MA, 0, printargs, "SYS_279" }, /* 279 */ + { MA, 0, printargs, "SYS_280" }, /* 280 */ + { MA, 0, printargs, "SYS_281" }, /* 281 */ + { MA, 0, printargs, "SYS_282" }, /* 282 */ + { MA, 0, printargs, "SYS_283" }, /* 283 */ + { MA, 0, printargs, "SYS_284" }, /* 284 */ + { MA, 0, printargs, "SYS_285" }, /* 285 */ + { MA, 0, printargs, "SYS_286" }, /* 286 */ + { MA, 0, printargs, "SYS_287" }, /* 287 */ + { MA, 0, printargs, "SYS_288" }, /* 288 */ + { MA, 0, printargs, "SYS_289" }, /* 289 */ + { MA, 0, printargs, "SYS_290" }, /* 290 */ + { MA, 0, printargs, "SYS_291" }, /* 291 */ + { MA, 0, printargs, "SYS_292" }, /* 292 */ + { MA, 0, printargs, "SYS_293" }, /* 293 */ + { MA, 0, printargs, "SYS_294" }, /* 294 */ + { MA, 0, printargs, "SYS_295" }, /* 295 */ + { MA, 0, printargs, "SYS_296" }, /* 296 */ + { MA, 0, printargs, "SYS_297" }, /* 297 */ + { MA, 0, printargs, "SYS_298" }, /* 298 */ + { MA, 0, printargs, "SYS_299" }, /* 299 */ - { -1, 0, sys_getpgrp, "getpgrp" }, /* 300 */ - { -1, 0, sys_setpgrp, "setpgrp" }, /* 301 */ - { -1, 0, sys_getsid, "getsid" }, /* 302 */ - { -1, 0, sys_setsid, "setsid" }, /* 303 */ - { -1, 0, sys_getpgid, "getpgid" }, /* 304 */ - { -1, 0, sys_setpgid, "setpgid" }, /* 305 */ - { -1, 0, printargs, "SYS_306" }, /* 306 */ - { -1, 0, printargs, "SYS_307" }, /* 307 */ - { -1, 0, printargs, "SYS_308" }, /* 308 */ - { -1, 0, printargs, "SYS_309" }, /* 309 */ + { MA, 0, sys_getpgrp, "getpgrp" }, /* 300 */ + { MA, 0, sys_setpgrp, "setpgrp" }, /* 301 */ + { MA, 0, sys_getsid, "getsid" }, /* 302 */ + { MA, 0, sys_setsid, "setsid" }, /* 303 */ + { MA, 0, sys_getpgid, "getpgid" }, /* 304 */ + { MA, 0, sys_setpgid, "setpgid" }, /* 305 */ + { MA, 0, printargs, "SYS_306" }, /* 306 */ + { MA, 0, printargs, "SYS_307" }, /* 307 */ + { MA, 0, printargs, "SYS_308" }, /* 308 */ + { MA, 0, printargs, "SYS_309" }, /* 309 */ - { -1, TS, sys_signal, "signal" }, /* 310 */ - { -1, TS, sys_sigset, "sigset" }, /* 311 */ - { -1, TS, sys_sighold, "sighold" }, /* 312 */ - { -1, TS, sys_sigrelse, "sigrelse" }, /* 313 */ - { -1, TS, sys_sigignore, "sigignore" }, /* 314 */ - { -1, TS, sys_sigpause, "sigpause" }, /* 315 */ - { -1, 0, printargs, "SYS_316" }, /* 316 */ - { -1, 0, printargs, "SYS_317" }, /* 317 */ - { -1, 0, printargs, "SYS_318" }, /* 318 */ - { -1, 0, printargs, "SYS_319" }, /* 319 */ + { MA, TS, sys_signal, "signal" }, /* 310 */ + { MA, TS, sys_sigset, "sigset" }, /* 311 */ + { MA, TS, sys_sighold, "sighold" }, /* 312 */ + { MA, TS, sys_sigrelse, "sigrelse" }, /* 313 */ + { MA, TS, sys_sigignore, "sigignore" }, /* 314 */ + { MA, TS, sys_sigpause, "sigpause" }, /* 315 */ + { MA, 0, printargs, "SYS_316" }, /* 316 */ + { MA, 0, printargs, "SYS_317" }, /* 317 */ + { MA, 0, printargs, "SYS_318" }, /* 318 */ + { MA, 0, printargs, "SYS_319" }, /* 319 */ - { -1, TI, sys_msgget, "msgget" }, /* 320 */ - { -1, TI, sys_msgctl, "msgctl" }, /* 321 */ - { -1, TI, sys_msgrcv, "msgrcv" }, /* 322 */ - { -1, TI, sys_msgsnd, "msgsnd" }, /* 323 */ - { -1, 0, printargs, "SYS_324" }, /* 324 */ - { -1, 0, printargs, "SYS_325" }, /* 325 */ - { -1, 0, printargs, "SYS_326" }, /* 326 */ - { -1, 0, printargs, "SYS_327" }, /* 327 */ - { -1, 0, printargs, "SYS_328" }, /* 328 */ - { -1, 0, printargs, "SYS_329" }, /* 329 */ + { MA, TI, sys_msgget, "msgget" }, /* 320 */ + { MA, TI, sys_msgctl, "msgctl" }, /* 321 */ + { MA, TI, sys_msgrcv, "msgrcv" }, /* 322 */ + { MA, TI, sys_msgsnd, "msgsnd" }, /* 323 */ + { MA, 0, printargs, "SYS_324" }, /* 324 */ + { MA, 0, printargs, "SYS_325" }, /* 325 */ + { MA, 0, printargs, "SYS_326" }, /* 326 */ + { MA, 0, printargs, "SYS_327" }, /* 327 */ + { MA, 0, printargs, "SYS_328" }, /* 328 */ + { MA, 0, printargs, "SYS_329" }, /* 329 */ - { -1, TI, sys_shmat, "shmat" }, /* 330 */ - { -1, TI, sys_shmctl, "shmctl" }, /* 331 */ - { -1, TI, sys_shmdt, "shmdt" }, /* 332 */ - { -1, TI, sys_shmget, "shmget" }, /* 333 */ - { -1, 0, printargs, "SYS_334" }, /* 334 */ - { -1, 0, printargs, "SYS_335" }, /* 335 */ - { -1, 0, printargs, "SYS_336" }, /* 336 */ - { -1, 0, printargs, "SYS_337" }, /* 337 */ - { -1, 0, printargs, "SYS_338" }, /* 338 */ - { -1, 0, printargs, "SYS_339" }, /* 339 */ + { MA, TI, sys_shmat, "shmat" }, /* 330 */ + { MA, TI, sys_shmctl, "shmctl" }, /* 331 */ + { MA, TI, sys_shmdt, "shmdt" }, /* 332 */ + { MA, TI, sys_shmget, "shmget" }, /* 333 */ + { MA, 0, printargs, "SYS_334" }, /* 334 */ + { MA, 0, printargs, "SYS_335" }, /* 335 */ + { MA, 0, printargs, "SYS_336" }, /* 336 */ + { MA, 0, printargs, "SYS_337" }, /* 337 */ + { MA, 0, printargs, "SYS_338" }, /* 338 */ + { MA, 0, printargs, "SYS_339" }, /* 339 */ - { -1, TI, sys_semctl, "semctl" }, /* 340 */ - { -1, TI, sys_semget, "semget" }, /* 341 */ - { -1, TI, sys_semop, "semop" }, /* 342 */ - { -1, 0, printargs, "SYS_343" }, /* 343 */ - { -1, 0, printargs, "SYS_344" }, /* 344 */ - { -1, 0, printargs, "SYS_345" }, /* 345 */ - { -1, 0, printargs, "SYS_346" }, /* 346 */ - { -1, 0, printargs, "SYS_347" }, /* 347 */ - { -1, 0, printargs, "SYS_348" }, /* 348 */ - { -1, 0, printargs, "SYS_349" }, /* 349 */ + { MA, TI, sys_semctl, "semctl" }, /* 340 */ + { MA, TI, sys_semget, "semget" }, /* 341 */ + { MA, TI, sys_semop, "semop" }, /* 342 */ + { MA, 0, printargs, "SYS_343" }, /* 343 */ + { MA, 0, printargs, "SYS_344" }, /* 344 */ + { MA, 0, printargs, "SYS_345" }, /* 345 */ + { MA, 0, printargs, "SYS_346" }, /* 346 */ + { MA, 0, printargs, "SYS_347" }, /* 347 */ + { MA, 0, printargs, "SYS_348" }, /* 348 */ + { MA, 0, printargs, "SYS_349" }, /* 349 */ - { -1, 0, sys_olduname, "olduname" }, /* 350 */ - { -1, 0, printargs, "utssys1" }, /* 351 */ - { -1, 0, sys_ustat, "ustat" }, /* 352 */ - { -1, 0, sys_fusers, "fusers" }, /* 353 */ - { -1, 0, printargs, "SYS_354" }, /* 354 */ - { -1, 0, printargs, "SYS_355" }, /* 355 */ - { -1, 0, printargs, "SYS_356" }, /* 356 */ - { -1, 0, printargs, "SYS_357" }, /* 357 */ - { -1, 0, printargs, "SYS_358" }, /* 358 */ - { -1, 0, printargs, "SYS_359" }, /* 359 */ + { MA, 0, sys_olduname, "olduname" }, /* 350 */ + { MA, 0, printargs, "utssys1" }, /* 351 */ + { MA, 0, sys_ustat, "ustat" }, /* 352 */ + { MA, 0, sys_fusers, "fusers" }, /* 353 */ + { MA, 0, printargs, "SYS_354" }, /* 354 */ + { MA, 0, printargs, "SYS_355" }, /* 355 */ + { MA, 0, printargs, "SYS_356" }, /* 356 */ + { MA, 0, printargs, "SYS_357" }, /* 357 */ + { MA, 0, printargs, "SYS_358" }, /* 358 */ + { MA, 0, printargs, "SYS_359" }, /* 359 */ - { -1, 0, printargs, "sysfs0" }, /* 360 */ - { -1, 0, sys_sysfs1, "sysfs1" }, /* 361 */ - { -1, 0, sys_sysfs2, "sysfs2" }, /* 362 */ - { -1, 0, sys_sysfs3, "sysfs3" }, /* 363 */ - { -1, 0, printargs, "SYS_364" }, /* 364 */ - { -1, 0, printargs, "SYS_365" }, /* 365 */ - { -1, 0, printargs, "SYS_366" }, /* 366 */ - { -1, 0, printargs, "SYS_367" }, /* 367 */ - { -1, 0, printargs, "SYS_368" }, /* 368 */ - { -1, 0, printargs, "SYS_369" }, /* 369 */ + { MA, 0, printargs, "sysfs0" }, /* 360 */ + { MA, 0, sys_sysfs1, "sysfs1" }, /* 361 */ + { MA, 0, sys_sysfs2, "sysfs2" }, /* 362 */ + { MA, 0, sys_sysfs3, "sysfs3" }, /* 363 */ + { MA, 0, printargs, "SYS_364" }, /* 364 */ + { MA, 0, printargs, "SYS_365" }, /* 365 */ + { MA, 0, printargs, "SYS_366" }, /* 366 */ + { MA, 0, printargs, "SYS_367" }, /* 367 */ + { MA, 0, printargs, "SYS_368" }, /* 368 */ + { MA, 0, printargs, "SYS_369" }, /* 369 */ - { -1, 0, printargs, "spcall0" }, /* 370 */ - { -1, TS, sys_sigpending, "sigpending" }, /* 371 */ - { -1, TS, sys_sigfillset, "sigfillset" }, /* 372 */ - { -1, 0, printargs, "SYS_373" }, /* 373 */ - { -1, 0, printargs, "SYS_374" }, /* 374 */ - { -1, 0, printargs, "SYS_375" }, /* 375 */ - { -1, 0, printargs, "SYS_376" }, /* 376 */ - { -1, 0, printargs, "SYS_377" }, /* 377 */ - { -1, 0, printargs, "SYS_378" }, /* 378 */ - { -1, 0, printargs, "SYS_379" }, /* 379 */ + { MA, 0, printargs, "spcall0" }, /* 370 */ + { MA, TS, sys_sigpending, "sigpending" }, /* 371 */ + { MA, TS, sys_sigfillset, "sigfillset" }, /* 372 */ + { MA, 0, printargs, "SYS_373" }, /* 373 */ + { MA, 0, printargs, "SYS_374" }, /* 374 */ + { MA, 0, printargs, "SYS_375" }, /* 375 */ + { MA, 0, printargs, "SYS_376" }, /* 376 */ + { MA, 0, printargs, "SYS_377" }, /* 377 */ + { MA, 0, printargs, "SYS_378" }, /* 378 */ + { MA, 0, printargs, "SYS_379" }, /* 379 */ - { -1, 0, sys_getcontext, "getcontext" }, /* 380 */ - { -1, 0, sys_setcontext, "setcontext" }, /* 381 */ - { -1, 0, printargs, "SYS_382" }, /* 382 */ - { -1, 0, printargs, "SYS_383" }, /* 383 */ - { -1, 0, printargs, "SYS_384" }, /* 384 */ - { -1, 0, printargs, "SYS_385" }, /* 385 */ - { -1, 0, printargs, "SYS_386" }, /* 386 */ - { -1, 0, printargs, "SYS_387" }, /* 387 */ - { -1, 0, printargs, "SYS_388" }, /* 388 */ - { -1, 0, printargs, "SYS_389" }, /* 389 */ + { MA, 0, sys_getcontext, "getcontext" }, /* 380 */ + { MA, 0, sys_setcontext, "setcontext" }, /* 381 */ + { MA, 0, printargs, "SYS_382" }, /* 382 */ + { MA, 0, printargs, "SYS_383" }, /* 383 */ + { MA, 0, printargs, "SYS_384" }, /* 384 */ + { MA, 0, printargs, "SYS_385" }, /* 385 */ + { MA, 0, printargs, "SYS_386" }, /* 386 */ + { MA, 0, printargs, "SYS_387" }, /* 387 */ + { MA, 0, printargs, "SYS_388" }, /* 388 */ + { MA, 0, printargs, "SYS_389" }, /* 389 */ - { -1, 0, printargs, "door_create" }, /* 390 */ - { -1, 0, printargs, "door_revoke" }, /* 391 */ - { -1, 0, printargs, "door_info" }, /* 392 */ - { -1, 0, printargs, "door_call" }, /* 393 */ - { -1, 0, printargs, "door_return" }, /* 394 */ - { -1, 0, printargs, "door_cred" }, /* 395 */ - { -1, 0, printargs, "SYS_396" }, /* 396 */ - { -1, 0, printargs, "SYS_397" }, /* 397 */ - { -1, 0, printargs, "SYS_398" }, /* 398 */ - { -1, 0, printargs, "SYS_399" }, /* 399 */ + { MA, 0, printargs, "door_create" }, /* 390 */ + { MA, 0, printargs, "door_revoke" }, /* 391 */ + { MA, 0, printargs, "door_info" }, /* 392 */ + { MA, 0, printargs, "door_call" }, /* 393 */ + { MA, 0, printargs, "door_return" }, /* 394 */ + { MA, 0, printargs, "door_cred" }, /* 395 */ + { MA, 0, printargs, "SYS_396" }, /* 396 */ + { MA, 0, printargs, "SYS_397" }, /* 397 */ + { MA, 0, printargs, "SYS_398" }, /* 398 */ + { MA, 0, printargs, "SYS_399" }, /* 399 */ #ifdef HAVE_SYS_AIO_H - { -1, TF, sys_aioread, "aioread" }, /* 400 */ - { -1, TF, sys_aiowrite, "aiowrite" }, /* 401 */ - { -1, TF, sys_aiowait, "aiowait" }, /* 402 */ - { -1, TF, sys_aiocancel, "aiocancel" }, /* 403 */ - { -1, TF, sys_aionotify, "aionotify" }, /* 404 */ - { -1, TF, sys_aioinit, "aioinit" }, /* 405 */ - { -1, TF, sys_aiostart, "aiostart" }, /* 406 */ - { -1, TF, sys_aiolio, "aiolio" }, /* 407 */ - { -1, TF, sys_aiosuspend, "aiosuspend" }, /* 408 */ - { -1, TF, sys_aioerror, "aioerror" }, /* 409 */ - { -1, TF, sys_aioliowait, "aioliowait" }, /* 410 */ - { -1, TF, sys_aioaread, "aioaread" }, /* 411 */ - { -1, TF, sys_aioawrite, "aioawrite" }, /* 412 */ - { -1, TF, sys_aiolio64, "aiolio64" }, /* 413 */ - { -1, TF, sys_aiosuspend64, "aiosuspend64" }, /* 414 */ - { -1, TF, sys_aioerror64, "aioerror64" }, /* 415 */ - { -1, TF, sys_aioliowait64, "aioliowait64" }, /* 416 */ - { -1, TF, sys_aioaread64, "aioaread64" }, /* 417 */ - { -1, TF, sys_aioawrite64, "aioawrite64" }, /* 418 */ - { -1, TF, sys_aiocancel64, "aiocancel64" }, /* 419 */ - { -1, TF, sys_aiofsync, "aiofsync" }, /* 420 */ + { MA, TF, sys_aioread, "aioread" }, /* 400 */ + { MA, TF, sys_aiowrite, "aiowrite" }, /* 401 */ + { MA, TF, sys_aiowait, "aiowait" }, /* 402 */ + { MA, TF, sys_aiocancel, "aiocancel" }, /* 403 */ + { MA, TF, sys_aionotify, "aionotify" }, /* 404 */ + { MA, TF, sys_aioinit, "aioinit" }, /* 405 */ + { MA, TF, sys_aiostart, "aiostart" }, /* 406 */ + { MA, TF, sys_aiolio, "aiolio" }, /* 407 */ + { MA, TF, sys_aiosuspend, "aiosuspend" }, /* 408 */ + { MA, TF, sys_aioerror, "aioerror" }, /* 409 */ + { MA, TF, sys_aioliowait, "aioliowait" }, /* 410 */ + { MA, TF, sys_aioaread, "aioaread" }, /* 411 */ + { MA, TF, sys_aioawrite, "aioawrite" }, /* 412 */ + { MA, TF, sys_aiolio64, "aiolio64" }, /* 413 */ + { MA, TF, sys_aiosuspend64, "aiosuspend64" }, /* 414 */ + { MA, TF, sys_aioerror64, "aioerror64" }, /* 415 */ + { MA, TF, sys_aioliowait64, "aioliowait64" }, /* 416 */ + { MA, TF, sys_aioaread64, "aioaread64" }, /* 417 */ + { MA, TF, sys_aioawrite64, "aioawrite64" }, /* 418 */ + { MA, TF, sys_aiocancel64, "aiocancel64" }, /* 419 */ + { MA, TF, sys_aiofsync, "aiofsync" }, /* 420 */ #endif diff --git a/syscall.c b/syscall.c index 7f2e301d..1801a7c4 100644 --- a/syscall.c +++ b/syscall.c @@ -112,6 +112,7 @@ #define TP TRACE_PROCESS #define TS TRACE_SIGNAL #define NF SYSCALL_NEVER_FAILS +#define MA MAX_ARGS static const struct sysent sysent0[] = { #include "syscallent.h" @@ -137,6 +138,7 @@ static const struct sysent sysent2[] = { #undef TP #undef TS #undef NF +#undef MA /* diff --git a/syscallent.sh b/syscallent.sh index 636cedeb..58107d5f 100755 --- a/syscallent.sh +++ b/syscallent.sh @@ -40,7 +40,7 @@ s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[ ]*[^0-9()]*(__NR_Linux + \([0-9]*\))$/\1 \2 while (++call < $2) { f = "printargs" n = "SYS_" call - s = "\t{ -1,\t0,\t" + s = "\t{ MA,\t0,\t" s = s f "," s = s substr(tabs, 1, 24/8 - int((length(f) + 1)/8)) s = s "\"" n "\"" @@ -50,7 +50,7 @@ s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[ ]*[^0-9()]*(__NR_Linux + \([0-9]*\))$/\1 \2 } f = "sys_" $1 n = $1 - s = "\t{ -1,\t0,\t" + s = "\t{ MA,\t0,\t" s = s f "," s = s substr(tabs, 1, 24/8 - int((length(f) + 1)/8)) s = s "\"" n "\"" @@ -63,7 +63,7 @@ s/^#[ ]*define[ ][ ]*__NR_\([^ ]*\)[ ]*[^0-9()]*(__NR_Linux + \([0-9]*\))$/\1 \2 while (++call < limit) { f = "printargs" n = "SYS_" call - s = "\t{ -1,\t0,\t" + s = "\t{ MA,\t0,\t" s = s f "," s = s substr(tabs, 1, 24/8 - int((length(f) + 1)/8)) s = s "\"" n "\""