1, x86 platform 32-bit Linux system call number
Location: include/asm-x86/unistd_32.h
#define __NR_RESTART_SYSCALL 0 #define __NR_EXIT 1 #define __NR_FORK 2 #define __nr_read 3 #d Efine __nr_write 4 #define __NR_OPEN 5 #define __NR_CLOSE 6 #define __NR_WAITPID 7 #define __nr_creat 8 #define __nr_link 9 #define __nr_unlink #define __NR_EXECVE #define __nr_chdir
#define __NR_TIME #define __NR_MKNOD #define __NR_CHMOD #define __nr_lchown 16 #define __NR_BREAK #define __NR_OLDSTAT #define __nr_lseek #define __NR_GETPID #defin E __nr_mount #define __NR_UMOUNT #define __NR_SETUID #define __NR_GETUID #define __nr_sti Me #define __NR_PTRACE #define __NR_ALARM #define __NR_OLDFSTAT #define __nr_pause #define __NR_UTIME #define __NR_STTY #define __NR_GTTY #define __nr_access #def
Ine __nr_nice 34#define __NR_FTIME #define __NR_SYNC #define __NR_KILL #define __NR_RENAME #define __ Nr_mkdir #define __NR_RMDIR #define __NR_DUP #define __NR_PIPE #define __nr_times #define __NR_PROF #define __NR_BRK #define __NR_SETGID #define __NR_GETGID #d Efine __nr_signal #define __NR_GETEUID #define __NR_GETEGID #define __NR_ACCT Wuyi #def INE __nr_umount2 #define __NR_LOCK #define __NR_IOCTL #define __NR_FCNTL #define __ NR_MPX #define __NR_SETPGID #define __NR_ULIMIT #define __NR_OLDOLDUNAME #define __NR _umask #define __NR_CHROOT #define __NR_USTAT #define __NR_DUP2 #define __nr_getppid #define __NR_GETPGRP #define __NR_SETSID #define __NR_SIGACTION #define __nr_sgetmas K #define __nr_ssetmask #define __NR_SETREUID #define __NR_SETREGID #define __nr_sigsuspend #defin E __nr_sigpending #define __NR_SETHOSTNAME #define __NR_SETRLIMIT #define __NR_GETRLIMIT 76 /* Back compatible 2Gig Limited rlimit/#define __NR_GETRUSAGE #define __NR_GETTIMEOFDAY #define __nr_set TimeOfDay #define __NR_GETGROUPS #define __NR_SETGROUPS bayi #define __NR_SELECT #define __nr_s Ymlink #define __NR_OLDLSTAT #define __NR_READLINK #define __NR_USELIB #define __NR _swapon #define __NR_REBOOT #define __NR_READDIR #define __NR_MMAP #define __nr_munma P #define __NR_TRUNCATE #define __NR_FTRUNCATE #define __NR_FCHMOD #define __nr_fchown #define __NR_GETPRIORITY #define __nr_setpriority #define __NR_PROFIL #define __nr_statfs __nr_fstat #defineFS #define __NR_IOPERM #define __NR_SOCKETCALL 102 #define __NR_SYSLOG #define __nr_setitim ER #define __nr_getitimer #define __NR_STAT #define __NR_LSTAT #define __nr_fstat 108 #define __NR_OLDUNAME 109 #define __NR_IOPL #define __NR_VHANGUP #define __nr_idle 112 #define __NR_VM86OLD 113 #define __NR_WAIT4 114 #define __NR_SWAPOFF #define __nr_sysinfo
116 #define __NR_IPC 117 #define __NR_FSYNC 118 #define __NR_SIGRETURN 119 #define __nr_clone 120 #define __NR_SETDOMAINNAME 121 #define __NR_UNAME 122 #define __NR_MODIFY_LDT 123 #define __NR_ADJTIMEX 12 4 #define __NR_MPROTECT #define __NR_SIGPROCMASK 126 #define __NR_CREATE_MODULE 127 #define __nr_init_module 128 #define __NR_DELETE_MODULE 129 #define __NR_GET_KERNEL_SYMS 130 #define __NR_QUOTACTL 131 #define __nr_g Etpgid 132 #definE __nr_fchdir #define __NR_BDFLUSH 134 #define __NR_SYSFS 135 #define __NR_PERSONALITY 136 #define __nr_afs_syscall 137/* Syscall for Andrew File System */#define __NR_SETFSUID 138 #define __NR_SETFSGID 1 #define __NR__LLSEEK 140 #define __NR_GETDENTS #define __NR__NEWSELECT #define __nr_flock 143 #define __NR_MSYNC 144 #define __NR_READV 145 #define __NR_WRITEV 146 #define __NR_GETSID 147 #defi NE __nr_fdatasync 148 #define __NR__SYSCTL 149 #define __NR_MLOCK #define __NR_MUNLOCK 151 #de Fine __nr_mlockall 152 #define __nr_munlockall 153 #define __NR_SCHED_SETPARAM 154 #define __nr_sched_getpar AM #define __nr_sched_setscheduler 156 #define __nr_sched_getscheduler 157 #define __nr_sched_yield 158 #define __NR_SCHED_GET_PRIORITY_MAX 159 #define __NR_SCHED_GET_PRIORITY_MIN 160 #define __nr_sched_rr_get_interval 161 #define __nr_nanosleeP 162 #define __NR_MREMAP 163 #define __NR_SETRESUID 164 #define __NR_GETRESUID 165 #define __nr_vm86 166 #define __NR_QUERY_MODULE 167 #define __NR_POLL #define __NR_NFSSERVCTL 169 #define __nr_setresgi D 170 #define __NR_GETRESGID 171 #define __NR_PRCTL 172 #define __NR_RT_SIGRETURN 173 #define __n R_rt_sigaction 174 #define __NR_RT_SIGPROCMASK 175 #define __NR_RT_SIGPENDING 176 #define __NR_RT_SIGTIMEDWAIT 177 # Define __NR_RT_SIGQUEUEINFO 178 #define __NR_RT_SIGSUSPEND 179 #define __NR_PREAD64 180 #define __nr_pwrite64 181 #define __NR_CHOWN #define __NR_GETCWD 183 #define __nr_capget 184 #define __NR_CAPSET 185 # Define __nr_sigaltstack 186 #define __NR_SENDFILE 187 #define __NR_GETPMSG 188/* Some people actually wan T streams/#define __NR_PUTPMSG 189 * Some people actually want streams * * #define __NR_VFORK 190 #define _ _nr_ugetrlimit 191/* SuS Compliant Getrlimit * * #define __NR_MMAP2 #define __NR_TRUNCATE64 193 #define __NR_FTRUNCATE64 194 #
Define __nr_stat64 195 #define __NR_LSTAT64 196 #define __NR_FSTAT64 197 #define __NR_LCHOWN32 198 #define __NR_GETUID32 199 #define __NR_GETGID32 #define __NR_GETEUID32 201 #define __NR_GETEGID32 #define __NR_SETREUID32 203 #define __NR_SETREGID32 204 #define __NR_GETGROUPS32 205 #define __nr_setgro UPS32 206 #define __NR_FCHOWN32 207 #define __NR_SETRESUID32 #define __NR_GETRESUID32 209 #define __nr_ SETRESGID32 210 #define __NR_GETRESGID32 211 #define __NR_CHOWN32 212 #define __NR_SETUID32 213 #define __NR_SETGID32 214 #define __NR_SETFSUID32 215 #define __NR_SETFSGID32 216 #define __NR_PIVOT_ROOT 217 # Define __nr_mincore 218 #define __NR_MADVISE 219 #define __NR_MADVISE1 219/* Delete when C lib stub i s removed * * #define __nR_GETDENTS64 #define __NR_FCNTL64 221/* 223 is unused/#define __NR_GETTID 224 #define __nr_readahea D #define __NR_SETXATTR #define __NR_LSETXATTR #define __NR_FSETXATTR 228 #define __nr_ge Txattr 229 #define __NR_LGETXATTR 230 #define __NR_FGETXATTR 231 #define __NR_LISTXATTR 232 #define _ _NR_LLISTXATTR 233 #define __NR_FLISTXATTR 234 #define __NR_REMOVEXATTR 235 #define __NR_LREMOVEXATTR 236 #de Fine __nr_fremovexattr 237 #define __NR_TKILL 238 #define __NR_SENDFILE64 239 #define __NR_FUTEX #defi NE __nr_sched_setaffinity 241 #define __nr_sched_getaffinity 242 #define __NR_SET_THREAD_AREA 243 #define __nr_get_th Read_area 244 #define __NR_IO_SETUP 245 #define __nr_io_destroy 246 #define __nr_io_getevents 247 #define _ _nr_io_submit 248 #define __NR_IO_CANCEL 249 #define __NR_FADVISE64/* 251 is available for reuse (was Briefly Sys_set_zone_recLAIM) */#define __NR_EXIT_GROUP 252 #define __nr_lookup_dcookie 253 #define __NR_EPOLL_CREATE 254 #define __nr_epol L_CTL 255 #define __NR_EPOLL_WAIT 256 #define __NR_REMAP_FILE_PAGES 257 #define __NR_SET_TID_ADDRESS 258 #de Fine __nr_timer_create 259 #define __NR_TIMER_SETTIME (__nr_timer_create+1) #define __NR_TIMER_GETTIME (__NR_timer_cre ate+2) #define __NR_TIMER_GETOVERRUN (__nr_timer_create+3) #define __NR_TIMER_DELETE (__nr_timer_create+4) #define __N R_clock_settime (__nr_timer_create+5) #define __NR_CLOCK_GETTIME (__nr_timer_create+6) #define __nr_clock_getres (__N R_TIMER_CREATE+7) #define __NR_CLOCK_NANOSLEEP (__nr_timer_create+8) #define __NR_STATFS64 268 #define __nr_fstat FS64 #define __NR_TGKILL 270 #define __nr_utimes 271 #define __NR_FADVISE64_64 272 #define __nr_vserver 273 #define __NR_MBIND 274 #define __NR_GET_MEMPOLICY 275 #define __NR_SET_MEMPOLICY 276 #define __nr_mq_op En 277 #define __nR_mq_unlink (__nr_mq_open+1) #define __NR_MQ_TIMEDSEND (__nr_mq_open+2) #define __NR_MQ_TIMEDRECEIVE (__NR_mq_op EN+3) #define __NR_MQ_NOTIFY (__nr_mq_open+4) #define __NR_MQ_GETSETATTR (__nr_mq_open+5) #define __nr_kexec_load 283 #define __NR_WAITID 284/* #define __NR_SYS_SETALTROOT 285/#define __NR_ADD_KEY 286 #define __nr_requ Est_key 287 #define __NR_KEYCTL #define __NR_IOPRIO_SET 289 #define __NR_IOPRIO_GET 290 #define __nr_in Otify_init 291 #define __NR_INOTIFY_ADD_WATCH 292 #define __nr_inotify_rm_watch 293 #define __nr_migrate_pages 294 #
Define __nr_openat 295 #define __nr_mkdirat 296 #define __NR_MKNODAT 297 #define __NR_FCHOWNAT 298 #define __NR_FUTIMESAT 299 #define __NR_FSTATAT64 #define __nr_unlinkat #define __nr_renameat 302 #define __nr_linkat 303 #define __NR_SYMLINKAT 304 #define __NR_READLINKAT 305 #define __nr_fchmodat 306 #define __nr_faCcessat 307 #