1 /* 2 * Copyright (c) 2004-2009 Atmel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 3. The name of the author may not be used to endorse or promote products 14 * derived from this software without specific prior written permission. 15 * 16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 */ 27 28 [ 0] = { 0, 0, sys_setup, "setup" }, 29 [ 1] = { 1, TP|SE, sys_exit, "_exit" }, 30 [ 2] = { 0, TP, sys_fork, "fork" }, 31 [ 3] = { 3, TD, sys_read, "read" }, 32 [ 4] = { 3, TD, sys_write, "write" }, 33 [ 5] = { 3, TD|TF, sys_open, "open" }, 34 [ 6] = { 1, TD, sys_close, "close" }, 35 [ 7] = { 1, 0, sys_umask, "umask" }, 36 [ 8] = { 2, TD|TF, sys_creat, "creat" }, 37 [ 9] = { 2, TF, sys_link, "link" }, 38 [ 10] = { 1, TF, sys_unlink, "unlink" }, 39 [ 11] = { 3, TF|TP|SE|SI, sys_execve, "execve" }, 40 [ 12] = { 1, TF, sys_chdir, "chdir" }, 41 [ 13] = { 1, 0, sys_time, "time" }, 42 [ 14] = { 3, TF, sys_mknod, "mknod" }, 43 [ 15] = { 2, TF, sys_chmod, "chmod" }, 44 [ 16] = { 3, TF, sys_chown, "chown" }, 45 [ 17] = { 3, TF, sys_chown, "lchown" }, 46 [ 18] = { 3, TD, sys_lseek, "lseek" }, 47 [ 19] = { 5, TD, sys_llseek, "_llseek" }, 48 [ 20] = { 0, 0, sys_getpid, "getpid" }, 49 [ 21] = { 5, TF, sys_mount, "mount" }, 50 [ 22] = { 1, TF, sys_umount, "umount" }, 51 [ 23] = { 1, 0, sys_setuid, "setuid" }, 52 [ 24] = { 0, NF, sys_getuid, "getuid" }, 53 [ 25] = { 1, 0, sys_stime, "stime" }, 54 [ 26] = { 4, 0, sys_ptrace, "ptrace" }, 55 [ 27] = { 1, 0, sys_alarm, "alarm" }, 56 [ 28] = { 0, TS, sys_pause, "pause" }, 57 [ 29] = { 2, TF, sys_utime, "utime" }, 58 [ 30] = { 2, TF, sys_stat, "stat" }, 59 [ 31] = { 2, TD, sys_fstat, "fstat" }, 60 [ 32] = { 2, TF, sys_lstat, "lstat" }, 61 [ 33] = { 2, TF, sys_access, "access" }, 62 [ 34] = { 1, TF, sys_chroot, "chroot" }, 63 [ 35] = { 0, 0, sys_sync, "sync" }, 64 [ 36] = { 1, TD, sys_fsync, "fsync" }, 65 [ 37] = { 2, TS, sys_kill, "kill" }, 66 [ 38] = { 2, TF, sys_rename, "rename" }, 67 [ 39] = { 2, TF, sys_mkdir, "mkdir" }, 68 [ 40] = { 1, TF, sys_rmdir, "rmdir" }, 69 [ 41] = { 1, TD, sys_dup, "dup" }, 70 [ 42] = { 1, TD, sys_pipe, "pipe" }, 71 [ 43] = { 1, 0, sys_times, "times" }, 72 [ 44] = { 5, TP, sys_clone, "clone" }, 73 [ 45] = { 1, TM|SI, sys_brk, "brk" }, 74 [ 46] = { 1, 0, sys_setgid, "setgid" }, 75 [ 47] = { 0, NF, sys_getgid, "getgid" }, 76 [ 48] = { 2, TF, sys_getcwd, "getcwd" }, 77 [ 49] = { 0, NF, sys_geteuid, "geteuid" }, 78 [ 50] = { 0, NF, sys_getegid, "getegid" }, 79 [ 51] = { 1, TF, sys_acct, "acct" }, 80 [ 52] = { 1, NF, sys_setfsuid, "setfsuid" }, 81 [ 53] = { 1, NF, sys_setfsgid, "setfsgid" }, 82 [ 54] = { 3, TD, sys_ioctl, "ioctl" }, 83 [ 55] = { 3, TD, sys_fcntl, "fcntl" }, 84 [ 56] = { 2, 0, sys_setpgid, "setpgid" }, 85 [ 57] = { 5, TM|SI, sys_mremap, "mremap" }, 86 [ 58] = { 3, 0, sys_setresuid, "setresuid" }, 87 [ 59] = { 3, 0, sys_getresuid, "getresuid" }, 88 [ 60] = { 2, 0, sys_setreuid, "setreuid" }, 89 [ 61] = { 2, 0, sys_setregid, "setregid" }, 90 [ 62] = { 2, 0, sys_ustat, "ustat" }, 91 [ 63] = { 2, TD, sys_dup2, "dup2" }, 92 [ 64] = { 0, 0, sys_getppid, "getppid" }, 93 [ 65] = { 0, 0, sys_getpgrp, "getpgrp" }, 94 [ 66] = { 0, 0, sys_setsid, "setsid" }, 95 [ 67] = { 4, TS, sys_rt_sigaction, "rt_sigaction" }, 96 [ 68] = { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, 97 [ 69] = { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask" }, 98 [ 70] = { 2, TS, sys_rt_sigpending, "rt_sigpending" }, 99 [ 71] = { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait" }, 100 [ 72] = { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, 101 [ 73] = { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, 102 [ 74] = { 2, 0, sys_sethostname, "sethostname" }, 103 [ 75] = { 2, 0, sys_setrlimit, "setrlimit" }, 104 [ 76] = { 2, 0, sys_getrlimit, "getrlimit" }, 105 [ 77] = { 2, 0, sys_getrusage, "getrusage" }, 106 [ 78] = { 2, 0, sys_gettimeofday, "gettimeofday" }, 107 [ 79] = { 2, 0, sys_settimeofday, "settimeofday" }, 108 [ 80] = { 2, 0, sys_getgroups, "getgroups" }, 109 [ 81] = { 2, 0, sys_setgroups, "setgroups" }, 110 [ 82] = { 5, TD, sys_select, "select" }, 111 [ 83] = { 2, TF, sys_symlink, "symlink" }, 112 [ 84] = { 1, TD, sys_fchdir, "fchdir" }, 113 [ 85] = { 3, TF, sys_readlink, "readlink" }, 114 [ 86] = { 5, TD, sys_pread, "pread" }, 115 [ 87] = { 5, TD, sys_pwrite, "pwrite" }, 116 [ 88] = { 2, TF, sys_swapon, "swapon" }, 117 [ 89] = { 4, 0, sys_reboot, "reboot" }, 118 [ 90] = { 6, TD|TM|SI, sys_mmap_pgoff, "mmap" }, 119 [ 91] = { 2, TM|SI, sys_munmap, "munmap" }, 120 [ 92] = { 2, TF, sys_truncate, "truncate" }, 121 [ 93] = { 2, TD, sys_ftruncate, "ftruncate" }, 122 [ 94] = { 2, TD, sys_fchmod, "fchmod" }, 123 [ 95] = { 3, TD, sys_fchown, "fchown" }, 124 [ 96] = { 2, 0, sys_getpriority, "getpriority" }, 125 [ 97] = { 3, 0, sys_setpriority, "setpriority" }, 126 [ 98] = { 4, TP, sys_wait4, "wait4" }, 127 [ 99] = { 2, TF, sys_statfs, "statfs" }, 128 [100] = { 2, TD, sys_fstatfs, "fstatfs" }, 129 [101] = { 0, 0, sys_vhangup, "vhangup" }, 130 [102] = { 2, TS, sys_sigaltstack, "sigaltstack" }, 131 [103] = { 3, 0, sys_syslog, "syslog" }, 132 [104] = { 3, 0, sys_setitimer, "setitimer" }, 133 [105] = { 2, 0, sys_getitimer, "getitimer" }, 134 [106] = { 1, TF, sys_swapoff, "swapoff" }, 135 [107] = { 1, 0, sys_sysinfo, "sysinfo" }, 136 [108] = { 6, TI, sys_ipc, "ipc" }, 137 [109] = { 4, TD|TN, sys_sendfile, "sendfile" }, 138 [110] = { 2, 0, sys_setdomainname, "setdomainname" }, 139 [111] = { 1, 0, sys_uname, "uname" }, 140 [112] = { 1, 0, sys_adjtimex, "adjtimex" }, 141 [113] = { 3, TM|SI, sys_mprotect, "mprotect" }, 142 [114] = { 0, TP, sys_vfork, "vfork" }, 143 [115] = { 3, 0, sys_init_module, "init_module" }, 144 [116] = { 2, 0, sys_delete_module, "delete_module" }, 145 [117] = { 4, TF, sys_quotactl, "quotactl" }, 146 [118] = { 1, 0, sys_getpgid, "getpgid" }, 147 [119] = { 0, 0, sys_bdflush, "bdflush" }, 148 [120] = { 3, 0, sys_sysfs, "sysfs" }, 149 [121] = { 1, 0, sys_personality, "personality" }, 150 [122] = { 5, 0, sys_afs_syscall, "afs_syscall" }, 151 [123] = { 3, TD, sys_getdents, "getdents" }, 152 [124] = { 2, TD, sys_flock, "flock" }, 153 [125] = { 3, TM, sys_msync, "msync" }, 154 [126] = { 3, TD, sys_readv, "readv" }, 155 [127] = { 3, TD, sys_writev, "writev" }, 156 [128] = { 1, 0, sys_getsid, "getsid" }, 157 [129] = { 1, TD, sys_fdatasync, "fdatasync" }, 158 [130] = { 1, 0, sys_sysctl, "_sysctl" }, 159 [131] = { 2, TM, sys_mlock, "mlock" }, 160 [132] = { 2, TM, sys_munlock, "munlock" }, 161 [133] = { 1, TM, sys_mlockall, "mlockall" }, 162 [134] = { 0, TM, sys_munlockall, "munlockall" }, 163 [135] = { 2, 0, sys_sched_setparam, "sched_setparam" }, 164 [136] = { 2, 0, sys_sched_getparam, "sched_getparam" }, 165 [137] = { 3, 0, sys_sched_setscheduler, "sched_setscheduler" }, 166 [138] = { 1, 0, sys_sched_getscheduler, "sched_getscheduler" }, 167 [139] = { 0, 0, sys_sched_yield, "sched_yield" }, 168 [140] = { 1, 0, sys_sched_get_priority_max, "sched_get_priority_max"}, 169 [141] = { 1, 0, sys_sched_get_priority_min, "sched_get_priority_min"}, 170 [142] = { 2, 0, sys_sched_rr_get_interval, "sched_rr_get_interval" }, 171 [143] = { 2, 0, sys_nanosleep, "nanosleep" }, 172 [144] = { 3, TD, sys_poll, "poll" }, 173 [145] = { 3, 0, sys_nfsservctl, "nfsservctl" }, 174 [146] = { 3, 0, sys_setresgid, "setresgid" }, 175 [147] = { 3, 0, sys_getresgid, "getresgid" }, 176 [148] = { 5, 0, sys_prctl, "prctl" }, 177 [149] = { 3, TN, sys_socket, "socket" }, 178 [150] = { 3, TN, sys_bind, "bind" }, 179 [151] = { 3, TN, sys_connect, "connect" }, 180 [152] = { 2, TN, sys_listen, "listen" }, 181 [153] = { 3, TN, sys_accept, "accept" }, 182 [154] = { 3, TN, sys_getsockname, "getsockname" }, 183 [155] = { 3, TN, sys_getpeername, "getpeername" }, 184 [156] = { 4, TN, sys_socketpair, "socketpair" }, 185 [157] = { 4, TN, sys_send, "send" }, 186 [158] = { 4, TN, sys_recv, "recv" }, 187 [159] = { 6, TN, sys_sendto, "sendto" }, 188 [160] = { 6, TN, sys_recvfrom, "recvfrom" }, 189 [161] = { 2, TN, sys_shutdown, "shutdown" }, 190 [162] = { 5, TN, sys_setsockopt, "setsockopt" }, 191 [163] = { 5, TN, sys_getsockopt, "getsockopt" }, 192 [164] = { 3, TN, sys_sendmsg, "sendmsg" }, 193 [165] = { 3, TN, sys_recvmsg, "recvmsg" }, 194 [166] = { 3, TF, sys_truncate64, "truncate64" }, 195 [167] = { 3, TD, sys_ftruncate64, "ftruncate64" }, 196 [168] = { 2, TF, sys_stat64, "stat64" }, 197 [169] = { 2, TF, sys_lstat64, "lstat64" }, 198 [170] = { 2, TD, sys_fstat64, "fstat64" }, 199 [171] = { 2, TF, sys_pivotroot, "pivot_root" }, 200 [172] = { 3, TM, sys_mincore, "mincore" }, 201 [173] = { 3, TM, sys_madvise, "madvise" }, 202 [174] = { 3, TD, sys_getdents64, "getdents64" }, 203 [175] = { 3, TD, sys_fcntl, "fcntl64" }, 204 [176] = { 0, 0, sys_gettid, "gettid" }, 205 [177] = { 4, TD, sys_readahead, "readahead" }, 206 [178] = { 5, TF, sys_setxattr, "setxattr" }, 207 [179] = { 5, TF, sys_setxattr, "lsetxattr" }, 208 [180] = { 5, TD, sys_fsetxattr, "fsetxattr" }, 209 [181] = { 4, TF, sys_getxattr, "getxattr" }, 210 [182] = { 4, TF, sys_getxattr, "lgetxattr" }, 211 [183] = { 4, TD, sys_fgetxattr, "fgetxattr" }, 212 [184] = { 3, TF, sys_listxattr, "listxattr" }, 213 [185] = { 3, TF, sys_listxattr, "llistxattr" }, 214 [186] = { 3, TD, sys_flistxattr, "flistxattr" }, 215 [187] = { 2, TF, sys_removexattr, "removexattr" }, 216 [188] = { 2, TF, sys_removexattr, "lremovexattr" }, 217 [189] = { 2, TD, sys_fremovexattr, "fremovexattr" }, 218 [190] = { 2, TS, sys_kill, "tkill" }, 219 [191] = { 4, TD|TN, sys_sendfile64, "sendfile64" }, 220 [192] = { 6, 0, sys_futex, "futex" }, 221 [193] = { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, 222 [194] = { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, 223 [195] = { 2, 0, sys_capget, "capget" }, 224 [196] = { 2, 0, sys_capset, "capset" }, 225 [197] = { 2, 0, sys_io_setup, "io_setup" }, 226 [198] = { 1, 0, sys_io_destroy, "io_destroy" }, 227 [199] = { 5, 0, sys_io_getevents, "io_getevents" }, 228 [200] = { 3, 0, sys_io_submit, "io_submit" }, 229 [201] = { 3, 0, sys_io_cancel, "io_cancel" }, 230 [202] = { 5, TD, sys_fadvise64, "fadvise64" }, 231 [203] = { 1, TP|SE, sys_exit, "exit_group" }, 232 [204] = { 4, 0, sys_lookup_dcookie, "lookup_dcookie" }, 233 [205] = { 1, TD, sys_epoll_create, "epoll_create" }, 234 [206] = { 4, TD, sys_epoll_ctl, "epoll_ctl" }, 235 [207] = { 4, TD, sys_epoll_wait, "epoll_wait" }, 236 [208] = { 5, TM|SI, sys_remap_file_pages, "remap_file_pages" }, 237 [209] = { 1, 0, sys_set_tid_address, "set_tid_address" }, 238 [210] = { 3, 0, sys_timer_create, "timer_create" }, 239 [211] = { 4, 0, sys_timer_settime, "timer_settime" }, 240 [212] = { 2, 0, sys_timer_gettime, "timer_gettime" }, 241 [213] = { 1, 0, sys_timer_getoverrun, "timer_getoverrun" }, 242 [214] = { 1, 0, sys_timer_delete, "timer_delete" }, 243 [215] = { 2, 0, sys_clock_settime, "clock_settime" }, 244 [216] = { 2, 0, sys_clock_gettime, "clock_gettime" }, 245 [217] = { 2, 0, sys_clock_getres, "clock_getres" }, 246 [218] = { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, 247 [219] = { 3, TF, sys_statfs64, "statfs64" }, 248 [220] = { 3, TD, sys_fstatfs64, "fstatfs64" }, 249 [221] = { 3, TS, sys_tgkill, "tgkill" }, 250 [222] = { }, 251 [223] = { 2, TF, sys_utimes, "utimes" }, 252 [224] = { 6, TD, sys_fadvise64_64, "fadvise64_64" }, 253 [225] = { 3, 0, printargs, "cacheflush" }, 254 [226] = { 5, 0, sys_vserver, "vserver" }, 255 [227] = { 4, 0, sys_mq_open, "mq_open" }, 256 [228] = { 1, 0, sys_mq_unlink, "mq_unlink" }, 257 [229] = { 5, 0, sys_mq_timedsend, "mq_timedsend" }, 258 [230] = { 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, 259 [231] = { 2, 0, sys_mq_notify, "mq_notify" }, 260 [232] = { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, 261 [233] = { 4, 0, sys_kexec_load, "kexec_load" }, 262 [234] = { 5, TP, sys_waitid, "waitid" }, 263 [235] = { 5, 0, sys_add_key, "add_key" }, 264 [236] = { 4, 0, sys_request_key, "request_key" }, 265 [237] = { 5, 0, sys_keyctl, "keyctl" }, 266 [238] = { 3, 0, sys_ioprio_set, "ioprio_set" }, 267 [239] = { 2, 0, sys_ioprio_get, "ioprio_get" }, 268 [240] = { 0, TD, sys_inotify_init, "inotify_init" }, 269 [241] = { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, 270 [242] = { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, 271 [243] = { 4, TD|TF, sys_openat, "openat" }, 272 [244] = { 3, TD|TF, sys_mkdirat, "mkdirat" }, 273 [245] = { 4, TD|TF, sys_mknodat, "mknodat" }, 274 [246] = { 5, TD|TF, sys_fchownat, "fchownat" }, 275 [247] = { 3, TD|TF, sys_futimesat, "futimesat" }, 276 [248] = { 4, TD|TF, printargs, "fstatat64" }, 277 [249] = { 3, TD|TF, sys_unlinkat, "unlinkat" }, 278 [250] = { 4, TD|TF, sys_renameat, "renameat" }, 279 [251] = { 5, TD|TF, sys_linkat, "linkat" }, 280 [252] = { 3, TD|TF, sys_symlinkat, "symlinkat" }, 281 [253] = { 4, TD|TF, sys_readlinkat, "readlinkat" }, 282 [254] = { 3, TD|TF, sys_fchmodat, "fchmodat" }, 283 [255] = { 3, TD|TF, sys_faccessat, "faccessat" }, 284 [256] = { 6, TD, sys_pselect6, "pselect6" }, 285 [257] = { 5, TD, sys_ppoll, "ppoll" }, 286 [258] = { 1, TP, sys_unshare, "unshare" }, 287 [259] = { 2, 0, sys_set_robust_list, "set_robust_list" }, 288 [260] = { 3, 0, sys_get_robust_list, "get_robust_list" }, 289 [261] = { 6, TD, sys_splice, "splice" }, 290 [262] = { 6, TD, sys_sync_file_range, "sync_file_range" }, 291 [263] = { 4, TD, sys_tee, "tee" }, 292 [264] = { 4, TD, sys_vmsplice, "vmsplice" }, 293 [265] = { 6, TD, sys_epoll_pwait, "epoll_pwait" }, 294 [266] = { 2, TI, sys_msgget, "msgget" }, 295 [267] = { 4, TI, sys_msgsnd, "msgsnd" }, 296 [268] = { 5, TI, sys_msgrcv, "msgrcv" }, 297 [269] = { 3, TI, sys_msgctl, "msgctl" }, 298 [270] = { 3, TI, sys_semget, "semget" }, 299 [271] = { 3, TI, sys_semop, "semop" }, 300 [272] = { 4, TI, sys_semctl, "semctl" }, 301 [273] = { 4, TI, sys_semtimedop, "semtimedop" }, 302 [274] = { 3, TI|TM|SI, sys_shmat, "shmat" }, 303 [275] = { 3, TI, sys_shmget, "shmget" }, 304 [276] = { 1, TI|TM|SI, sys_shmdt, "shmdt" }, 305 [277] = { 3, TI, sys_shmctl, "shmctl" }, 306 [278] = { 4, TD|TF, sys_utimensat, "utimensat" }, 307 [279] = { 3, TD|TS, sys_signalfd, "signalfd" }, 308 [280] = { 2, TD, sys_timerfd, "timerfd" }, 309 [281] = { 1, TD, sys_eventfd, "eventfd" }, 310 [282] = { }, 311 [283] = { 2, TD, sys_setns, "setns" }, 312