lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

[asm]: linux syscall number(32bits_64bits)

 

 

 

 

一、32bit_syscall_number(451个系统调用)

  1 [root@rocky:syscall]# cat  linux_syscall_no_32.txt 
  2 //  date: 2024-10-26
  3 //  using For: 
  4 //      -- Assembly Language(nasm, gas)
  5 //      -- syscall() of function of C Language
  6 //  kernel version: Linux rocky 5.14.0-427.40.1.el9_4.x86_64
  7 //  linux_syscall32_number: /usr/include/asm/unistd_32.h  
  8 //  cat /usr/include/asm/unistd_32.h  
  9 //  syscall_totals = 441
 10 
 11 
 12 
 13 
 14 #ifndef _ASM_UNISTD_32_H
 15 #define _ASM_UNISTD_32_H
 16 
 17 #define __NR_restart_syscall 0
 18 #define __NR_exit 1
 19 #define __NR_fork 2
 20 #define __NR_read 3
 21 #define __NR_write 4
 22 #define __NR_open 5
 23 #define __NR_close 6
 24 #define __NR_waitpid 7
 25 #define __NR_creat 8
 26 #define __NR_link 9
 27 #define __NR_unlink 10
 28 #define __NR_execve 11
 29 #define __NR_chdir 12
 30 #define __NR_time 13
 31 #define __NR_mknod 14
 32 #define __NR_chmod 15
 33 #define __NR_lchown 16
 34 #define __NR_break 17
 35 #define __NR_oldstat 18
 36 #define __NR_lseek 19
 37 #define __NR_getpid 20
 38 #define __NR_mount 21
 39 #define __NR_umount 22
 40 #define __NR_setuid 23
 41 #define __NR_getuid 24
 42 #define __NR_stime 25
 43 #define __NR_ptrace 26
 44 #define __NR_alarm 27
 45 #define __NR_oldfstat 28
 46 #define __NR_pause 29
 47 #define __NR_utime 30
 48 #define __NR_stty 31
 49 #define __NR_gtty 32
 50 #define __NR_access 33
 51 #define __NR_nice 34
 52 #define __NR_ftime 35
 53 #define __NR_sync 36
 54 #define __NR_kill 37
 55 #define __NR_rename 38
 56 #define __NR_mkdir 39
 57 #define __NR_rmdir 40
 58 #define __NR_dup 41
 59 #define __NR_pipe 42
 60 #define __NR_times 43
 61 #define __NR_prof 44
 62 #define __NR_brk 45
 63 #define __NR_setgid 46
 64 #define __NR_getgid 47
 65 #define __NR_signal 48
 66 #define __NR_geteuid 49
 67 #define __NR_getegid 50
 68 #define __NR_acct 51
 69 #define __NR_umount2 52
 70 #define __NR_lock 53
 71 #define __NR_ioctl 54
 72 #define __NR_fcntl 55
 73 #define __NR_mpx 56
 74 #define __NR_setpgid 57
 75 #define __NR_ulimit 58
 76 #define __NR_oldolduname 59
 77 #define __NR_umask 60
 78 #define __NR_chroot 61
 79 #define __NR_ustat 62
 80 #define __NR_dup2 63
 81 #define __NR_getppid 64
 82 #define __NR_getpgrp 65
 83 #define __NR_setsid 66
 84 #define __NR_sigaction 67
 85 #define __NR_sgetmask 68
 86 #define __NR_ssetmask 69
 87 #define __NR_setreuid 70
 88 #define __NR_setregid 71
 89 #define __NR_sigsuspend 72
 90 #define __NR_sigpending 73
 91 #define __NR_sethostname 74
 92 #define __NR_setrlimit 75
 93 #define __NR_getrlimit 76
 94 #define __NR_getrusage 77
 95 #define __NR_gettimeofday 78
 96 #define __NR_settimeofday 79
 97 #define __NR_getgroups 80
 98 #define __NR_setgroups 81
 99 #define __NR_select 82
100 #define __NR_symlink 83
101 #define __NR_oldlstat 84
102 #define __NR_readlink 85
103 #define __NR_uselib 86
104 #define __NR_swapon 87
105 #define __NR_reboot 88
106 #define __NR_readdir 89
107 #define __NR_mmap 90
108 #define __NR_munmap 91
109 #define __NR_truncate 92
110 #define __NR_ftruncate 93
111 #define __NR_fchmod 94
112 #define __NR_fchown 95
113 #define __NR_getpriority 96
114 #define __NR_setpriority 97
115 #define __NR_profil 98
116 #define __NR_statfs 99
117 #define __NR_fstatfs 100
118 #define __NR_ioperm 101
119 #define __NR_socketcall 102
120 #define __NR_syslog 103
121 #define __NR_setitimer 104
122 #define __NR_getitimer 105
123 #define __NR_stat 106
124 #define __NR_lstat 107
125 #define __NR_fstat 108
126 #define __NR_olduname 109
127 #define __NR_iopl 110
128 #define __NR_vhangup 111
129 #define __NR_idle 112
130 #define __NR_vm86old 113
131 #define __NR_wait4 114
132 #define __NR_swapoff 115
133 #define __NR_sysinfo 116
134 #define __NR_ipc 117
135 #define __NR_fsync 118
136 #define __NR_sigreturn 119
137 #define __NR_clone 120
138 #define __NR_setdomainname 121
139 #define __NR_uname 122
140 #define __NR_modify_ldt 123
141 #define __NR_adjtimex 124
142 #define __NR_mprotect 125
143 #define __NR_sigprocmask 126
144 #define __NR_create_module 127
145 #define __NR_init_module 128
146 #define __NR_delete_module 129
147 #define __NR_get_kernel_syms 130
148 #define __NR_quotactl 131
149 #define __NR_getpgid 132
150 #define __NR_fchdir 133
151 #define __NR_bdflush 134
152 #define __NR_sysfs 135
153 #define __NR_personality 136
154 #define __NR_afs_syscall 137
155 #define __NR_setfsuid 138
156 #define __NR_setfsgid 139
157 #define __NR__llseek 140
158 #define __NR_getdents 141
159 #define __NR__newselect 142
160 #define __NR_flock 143
161 #define __NR_msync 144
162 #define __NR_readv 145
163 #define __NR_writev 146
164 #define __NR_getsid 147
165 #define __NR_fdatasync 148
166 #define __NR__sysctl 149
167 #define __NR_mlock 150
168 #define __NR_munlock 151
169 #define __NR_mlockall 152
170 #define __NR_munlockall 153
171 #define __NR_sched_setparam 154
172 #define __NR_sched_getparam 155
173 #define __NR_sched_setscheduler 156
174 #define __NR_sched_getscheduler 157
175 #define __NR_sched_yield 158
176 #define __NR_sched_get_priority_max 159
177 #define __NR_sched_get_priority_min 160
178 #define __NR_sched_rr_get_interval 161
179 #define __NR_nanosleep 162
180 #define __NR_mremap 163
181 #define __NR_setresuid 164
182 #define __NR_getresuid 165
183 #define __NR_vm86 166
184 #define __NR_query_module 167
185 #define __NR_poll 168
186 #define __NR_nfsservctl 169
187 #define __NR_setresgid 170
188 #define __NR_getresgid 171
189 #define __NR_prctl 172
190 #define __NR_rt_sigreturn 173
191 #define __NR_rt_sigaction 174
192 #define __NR_rt_sigprocmask 175
193 #define __NR_rt_sigpending 176
194 #define __NR_rt_sigtimedwait 177
195 #define __NR_rt_sigqueueinfo 178
196 #define __NR_rt_sigsuspend 179
197 #define __NR_pread64 180
198 #define __NR_pwrite64 181
199 #define __NR_chown 182
200 #define __NR_getcwd 183
201 #define __NR_capget 184
202 #define __NR_capset 185
203 #define __NR_sigaltstack 186
204 #define __NR_sendfile 187
205 #define __NR_getpmsg 188
206 #define __NR_putpmsg 189
207 #define __NR_vfork 190
208 #define __NR_ugetrlimit 191
209 #define __NR_mmap2 192
210 #define __NR_truncate64 193
211 #define __NR_ftruncate64 194
212 #define __NR_stat64 195
213 #define __NR_lstat64 196
214 #define __NR_fstat64 197
215 #define __NR_lchown32 198
216 #define __NR_getuid32 199
217 #define __NR_getgid32 200
218 #define __NR_geteuid32 201
219 #define __NR_getegid32 202
220 #define __NR_setreuid32 203
221 #define __NR_setregid32 204
222 #define __NR_getgroups32 205
223 #define __NR_setgroups32 206
224 #define __NR_fchown32 207
225 #define __NR_setresuid32 208
226 #define __NR_getresuid32 209
227 #define __NR_setresgid32 210
228 #define __NR_getresgid32 211
229 #define __NR_chown32 212
230 #define __NR_setuid32 213
231 #define __NR_setgid32 214
232 #define __NR_setfsuid32 215
233 #define __NR_setfsgid32 216
234 #define __NR_pivot_root 217
235 #define __NR_mincore 218
236 #define __NR_madvise 219
237 #define __NR_getdents64 220
238 #define __NR_fcntl64 221
239 #define __NR_gettid 224
240 #define __NR_readahead 225
241 #define __NR_setxattr 226
242 #define __NR_lsetxattr 227
243 #define __NR_fsetxattr 228
244 #define __NR_getxattr 229
245 #define __NR_lgetxattr 230
246 #define __NR_fgetxattr 231
247 #define __NR_listxattr 232
248 #define __NR_llistxattr 233
249 #define __NR_flistxattr 234
250 #define __NR_removexattr 235
251 #define __NR_lremovexattr 236
252 #define __NR_fremovexattr 237
253 #define __NR_tkill 238
254 #define __NR_sendfile64 239
255 #define __NR_futex 240
256 #define __NR_sched_setaffinity 241
257 #define __NR_sched_getaffinity 242
258 #define __NR_set_thread_area 243
259 #define __NR_get_thread_area 244
260 #define __NR_io_setup 245
261 #define __NR_io_destroy 246
262 #define __NR_io_getevents 247
263 #define __NR_io_submit 248
264 #define __NR_io_cancel 249
265 #define __NR_fadvise64 250
266 #define __NR_exit_group 252
267 #define __NR_lookup_dcookie 253
268 #define __NR_epoll_create 254
269 #define __NR_epoll_ctl 255
270 #define __NR_epoll_wait 256
271 #define __NR_remap_file_pages 257
272 #define __NR_set_tid_address 258
273 #define __NR_timer_create 259
274 #define __NR_timer_settime 260
275 #define __NR_timer_gettime 261
276 #define __NR_timer_getoverrun 262
277 #define __NR_timer_delete 263
278 #define __NR_clock_settime 264
279 #define __NR_clock_gettime 265
280 #define __NR_clock_getres 266
281 #define __NR_clock_nanosleep 267
282 #define __NR_statfs64 268
283 #define __NR_fstatfs64 269
284 #define __NR_tgkill 270
285 #define __NR_utimes 271
286 #define __NR_fadvise64_64 272
287 #define __NR_vserver 273
288 #define __NR_mbind 274
289 #define __NR_get_mempolicy 275
290 #define __NR_set_mempolicy 276
291 #define __NR_mq_open 277
292 #define __NR_mq_unlink 278
293 #define __NR_mq_timedsend 279
294 #define __NR_mq_timedreceive 280
295 #define __NR_mq_notify 281
296 #define __NR_mq_getsetattr 282
297 #define __NR_kexec_load 283
298 #define __NR_waitid 284
299 #define __NR_add_key 286
300 #define __NR_request_key 287
301 #define __NR_keyctl 288
302 #define __NR_ioprio_set 289
303 #define __NR_ioprio_get 290
304 #define __NR_inotify_init 291
305 #define __NR_inotify_add_watch 292
306 #define __NR_inotify_rm_watch 293
307 #define __NR_migrate_pages 294
308 #define __NR_openat 295
309 #define __NR_mkdirat 296
310 #define __NR_mknodat 297
311 #define __NR_fchownat 298
312 #define __NR_futimesat 299
313 #define __NR_fstatat64 300
314 #define __NR_unlinkat 301
315 #define __NR_renameat 302
316 #define __NR_linkat 303
317 #define __NR_symlinkat 304
318 #define __NR_readlinkat 305
319 #define __NR_fchmodat 306
320 #define __NR_faccessat 307
321 #define __NR_pselect6 308
322 #define __NR_ppoll 309
323 #define __NR_unshare 310
324 #define __NR_set_robust_list 311
325 #define __NR_get_robust_list 312
326 #define __NR_splice 313
327 #define __NR_sync_file_range 314
328 #define __NR_tee 315
329 #define __NR_vmsplice 316
330 #define __NR_move_pages 317
331 #define __NR_getcpu 318
332 #define __NR_epoll_pwait 319
333 #define __NR_utimensat 320
334 #define __NR_signalfd 321
335 #define __NR_timerfd_create 322
336 #define __NR_eventfd 323
337 #define __NR_fallocate 324
338 #define __NR_timerfd_settime 325
339 #define __NR_timerfd_gettime 326
340 #define __NR_signalfd4 327
341 #define __NR_eventfd2 328
342 #define __NR_epoll_create1 329
343 #define __NR_dup3 330
344 #define __NR_pipe2 331
345 #define __NR_inotify_init1 332
346 #define __NR_preadv 333
347 #define __NR_pwritev 334
348 #define __NR_rt_tgsigqueueinfo 335
349 #define __NR_perf_event_open 336
350 #define __NR_recvmmsg 337
351 #define __NR_fanotify_init 338
352 #define __NR_fanotify_mark 339
353 #define __NR_prlimit64 340
354 #define __NR_name_to_handle_at 341
355 #define __NR_open_by_handle_at 342
356 #define __NR_clock_adjtime 343
357 #define __NR_syncfs 344
358 #define __NR_sendmmsg 345
359 #define __NR_setns 346
360 #define __NR_process_vm_readv 347
361 #define __NR_process_vm_writev 348
362 #define __NR_kcmp 349
363 #define __NR_finit_module 350
364 #define __NR_sched_setattr 351
365 #define __NR_sched_getattr 352
366 #define __NR_renameat2 353
367 #define __NR_seccomp 354
368 #define __NR_getrandom 355
369 #define __NR_memfd_create 356
370 #define __NR_bpf 357
371 #define __NR_execveat 358
372 #define __NR_socket 359
373 #define __NR_socketpair 360
374 #define __NR_bind 361
375 #define __NR_connect 362
376 #define __NR_listen 363
377 #define __NR_accept4 364
378 #define __NR_getsockopt 365
379 #define __NR_setsockopt 366
380 #define __NR_getsockname 367
381 #define __NR_getpeername 368
382 #define __NR_sendto 369
383 #define __NR_sendmsg 370
384 #define __NR_recvfrom 371
385 #define __NR_recvmsg 372
386 #define __NR_shutdown 373
387 #define __NR_userfaultfd 374
388 #define __NR_membarrier 375
389 #define __NR_mlock2 376
390 #define __NR_copy_file_range 377
391 #define __NR_preadv2 378
392 #define __NR_pwritev2 379
393 #define __NR_pkey_mprotect 380
394 #define __NR_pkey_alloc 381
395 #define __NR_pkey_free 382
396 #define __NR_statx 383
397 #define __NR_arch_prctl 384
398 #define __NR_io_pgetevents 385
399 #define __NR_rseq 386
400 #define __NR_semget 393
401 #define __NR_semctl 394
402 #define __NR_shmget 395
403 #define __NR_shmctl 396
404 #define __NR_shmat 397
405 #define __NR_shmdt 398
406 #define __NR_msgget 399
407 #define __NR_msgsnd 400
408 #define __NR_msgrcv 401
409 #define __NR_msgctl 402
410 #define __NR_clock_gettime64 403
411 #define __NR_clock_settime64 404
412 #define __NR_clock_adjtime64 405
413 #define __NR_clock_getres_time64 406
414 #define __NR_clock_nanosleep_time64 407
415 #define __NR_timer_gettime64 408
416 #define __NR_timer_settime64 409
417 #define __NR_timerfd_gettime64 410
418 #define __NR_timerfd_settime64 411
419 #define __NR_utimensat_time64 412
420 #define __NR_pselect6_time64 413
421 #define __NR_ppoll_time64 414
422 #define __NR_io_pgetevents_time64 416
423 #define __NR_recvmmsg_time64 417
424 #define __NR_mq_timedsend_time64 418
425 #define __NR_mq_timedreceive_time64 419
426 #define __NR_semtimedop_time64 420
427 #define __NR_rt_sigtimedwait_time64 421
428 #define __NR_futex_time64 422
429 #define __NR_sched_rr_get_interval_time64 423
430 #define __NR_pidfd_send_signal 424
431 #define __NR_io_uring_setup 425
432 #define __NR_io_uring_enter 426
433 #define __NR_io_uring_register 427
434 #define __NR_open_tree 428
435 #define __NR_move_mount 429
436 #define __NR_fsopen 430
437 #define __NR_fsconfig 431
438 #define __NR_fsmount 432
439 #define __NR_fspick 433
440 #define __NR_pidfd_open 434
441 #define __NR_clone3 435
442 #define __NR_close_range 436
443 #define __NR_openat2 437
444 #define __NR_pidfd_getfd 438
445 #define __NR_faccessat2 439
446 #define __NR_process_madvise 440
447 #define __NR_epoll_pwait2 441
448 #define __NR_mount_setattr 442
449 #define __NR_quotactl_fd 443
450 #define __NR_landlock_create_ruleset 444
451 #define __NR_landlock_add_rule 445
452 #define __NR_landlock_restrict_self 446
453 #define __NR_memfd_secret 447
454 #define __NR_process_mrelease 448
455 #define __NR_futex_waitv 449
456 #define __NR_set_mempolicy_home_node 450
457 #define __NR_cachestat 451
458 
459 
460 #endif /* _ASM_UNISTD_32_H */
461 [root@rocky:syscall]# 
462 [root@rocky:syscall]# 

 

 

 

二、64bit_syscall_number(451个系统调用)

 

  1 [root@rocky:syscall]# cat  linux_syscall_no_64.txt
  2 // date:  2024-10-26
  3 // using For: 
  4 //     -- assembly language(nasm, gas)
  5 //     -- syscall() of function of c language
  6 // kernel:  Linux rocky 5.14.0-427.40.1.el9_4.x86_64
  7 // syscall_64_no:  /usr/include/asm/unistd_64.h
  8 // cat /usr/include/asm/unistd_64.h
  9 // syscall_totals = 363
 10 
 11 
 12 
 13 #ifndef _ASM_UNISTD_64_H
 14 #define _ASM_UNISTD_64_H
 15 
 16 #define __NR_read 0
 17 #define __NR_write 1
 18 #define __NR_open 2
 19 #define __NR_close 3
 20 #define __NR_stat 4
 21 #define __NR_fstat 5
 22 #define __NR_lstat 6
 23 #define __NR_poll 7
 24 #define __NR_lseek 8
 25 #define __NR_mmap 9
 26 #define __NR_mprotect 10
 27 #define __NR_munmap 11
 28 #define __NR_brk 12
 29 #define __NR_rt_sigaction 13
 30 #define __NR_rt_sigprocmask 14
 31 #define __NR_rt_sigreturn 15
 32 #define __NR_ioctl 16
 33 #define __NR_pread64 17
 34 #define __NR_pwrite64 18
 35 #define __NR_readv 19
 36 #define __NR_writev 20
 37 #define __NR_access 21
 38 #define __NR_pipe 22
 39 #define __NR_select 23
 40 #define __NR_sched_yield 24
 41 #define __NR_mremap 25
 42 #define __NR_msync 26
 43 #define __NR_mincore 27
 44 #define __NR_madvise 28
 45 #define __NR_shmget 29
 46 #define __NR_shmat 30
 47 #define __NR_shmctl 31
 48 #define __NR_dup 32
 49 #define __NR_dup2 33
 50 #define __NR_pause 34
 51 #define __NR_nanosleep 35
 52 #define __NR_getitimer 36
 53 #define __NR_alarm 37
 54 #define __NR_setitimer 38
 55 #define __NR_getpid 39
 56 #define __NR_sendfile 40
 57 #define __NR_socket 41
 58 #define __NR_connect 42
 59 #define __NR_accept 43
 60 #define __NR_sendto 44
 61 #define __NR_recvfrom 45
 62 #define __NR_sendmsg 46
 63 #define __NR_recvmsg 47
 64 #define __NR_shutdown 48
 65 #define __NR_bind 49
 66 #define __NR_listen 50
 67 #define __NR_getsockname 51
 68 #define __NR_getpeername 52
 69 #define __NR_socketpair 53
 70 #define __NR_setsockopt 54
 71 #define __NR_getsockopt 55
 72 #define __NR_clone 56
 73 #define __NR_fork 57
 74 #define __NR_vfork 58
 75 #define __NR_execve 59
 76 #define __NR_exit 60
 77 #define __NR_wait4 61
 78 #define __NR_kill 62
 79 #define __NR_uname 63
 80 #define __NR_semget 64
 81 #define __NR_semop 65
 82 #define __NR_semctl 66
 83 #define __NR_shmdt 67
 84 #define __NR_msgget 68
 85 #define __NR_msgsnd 69
 86 #define __NR_msgrcv 70
 87 #define __NR_msgctl 71
 88 #define __NR_fcntl 72
 89 #define __NR_flock 73
 90 #define __NR_fsync 74
 91 #define __NR_fdatasync 75
 92 #define __NR_truncate 76
 93 #define __NR_ftruncate 77
 94 #define __NR_getdents 78
 95 #define __NR_getcwd 79
 96 #define __NR_chdir 80
 97 #define __NR_fchdir 81
 98 #define __NR_rename 82
 99 #define __NR_mkdir 83
100 #define __NR_rmdir 84
101 #define __NR_creat 85
102 #define __NR_link 86
103 #define __NR_unlink 87
104 #define __NR_symlink 88
105 #define __NR_readlink 89
106 #define __NR_chmod 90
107 #define __NR_fchmod 91
108 #define __NR_chown 92
109 #define __NR_fchown 93
110 #define __NR_lchown 94
111 #define __NR_umask 95
112 #define __NR_gettimeofday 96
113 #define __NR_getrlimit 97
114 #define __NR_getrusage 98
115 #define __NR_sysinfo 99
116 #define __NR_times 100
117 #define __NR_ptrace 101
118 #define __NR_getuid 102
119 #define __NR_syslog 103
120 #define __NR_getgid 104
121 #define __NR_setuid 105
122 #define __NR_setgid 106
123 #define __NR_geteuid 107
124 #define __NR_getegid 108
125 #define __NR_setpgid 109
126 #define __NR_getppid 110
127 #define __NR_getpgrp 111
128 #define __NR_setsid 112
129 #define __NR_setreuid 113
130 #define __NR_setregid 114
131 #define __NR_getgroups 115
132 #define __NR_setgroups 116
133 #define __NR_setresuid 117
134 #define __NR_getresuid 118
135 #define __NR_setresgid 119
136 #define __NR_getresgid 120
137 #define __NR_getpgid 121
138 #define __NR_setfsuid 122
139 #define __NR_setfsgid 123
140 #define __NR_getsid 124
141 #define __NR_capget 125
142 #define __NR_capset 126
143 #define __NR_rt_sigpending 127
144 #define __NR_rt_sigtimedwait 128
145 #define __NR_rt_sigqueueinfo 129
146 #define __NR_rt_sigsuspend 130
147 #define __NR_sigaltstack 131
148 #define __NR_utime 132
149 #define __NR_mknod 133
150 #define __NR_uselib 134
151 #define __NR_personality 135
152 #define __NR_ustat 136
153 #define __NR_statfs 137
154 #define __NR_fstatfs 138
155 #define __NR_sysfs 139
156 #define __NR_getpriority 140
157 #define __NR_setpriority 141
158 #define __NR_sched_setparam 142
159 #define __NR_sched_getparam 143
160 #define __NR_sched_setscheduler 144
161 #define __NR_sched_getscheduler 145
162 #define __NR_sched_get_priority_max 146
163 #define __NR_sched_get_priority_min 147
164 #define __NR_sched_rr_get_interval 148
165 #define __NR_mlock 149
166 #define __NR_munlock 150
167 #define __NR_mlockall 151
168 #define __NR_munlockall 152
169 #define __NR_vhangup 153
170 #define __NR_modify_ldt 154
171 #define __NR_pivot_root 155
172 #define __NR__sysctl 156
173 #define __NR_prctl 157
174 #define __NR_arch_prctl 158
175 #define __NR_adjtimex 159
176 #define __NR_setrlimit 160
177 #define __NR_chroot 161
178 #define __NR_sync 162
179 #define __NR_acct 163
180 #define __NR_settimeofday 164
181 #define __NR_mount 165
182 #define __NR_umount2 166
183 #define __NR_swapon 167
184 #define __NR_swapoff 168
185 #define __NR_reboot 169
186 #define __NR_sethostname 170
187 #define __NR_setdomainname 171
188 #define __NR_iopl 172
189 #define __NR_ioperm 173
190 #define __NR_create_module 174
191 #define __NR_init_module 175
192 #define __NR_delete_module 176
193 #define __NR_get_kernel_syms 177
194 #define __NR_query_module 178
195 #define __NR_quotactl 179
196 #define __NR_nfsservctl 180
197 #define __NR_getpmsg 181
198 #define __NR_putpmsg 182
199 #define __NR_afs_syscall 183
200 #define __NR_tuxcall 184
201 #define __NR_security 185
202 #define __NR_gettid 186
203 #define __NR_readahead 187
204 #define __NR_setxattr 188
205 #define __NR_lsetxattr 189
206 #define __NR_fsetxattr 190
207 #define __NR_getxattr 191
208 #define __NR_lgetxattr 192
209 #define __NR_fgetxattr 193
210 #define __NR_listxattr 194
211 #define __NR_llistxattr 195
212 #define __NR_flistxattr 196
213 #define __NR_removexattr 197
214 #define __NR_lremovexattr 198
215 #define __NR_fremovexattr 199
216 #define __NR_tkill 200
217 #define __NR_time 201
218 #define __NR_futex 202
219 #define __NR_sched_setaffinity 203
220 #define __NR_sched_getaffinity 204
221 #define __NR_set_thread_area 205
222 #define __NR_io_setup 206
223 #define __NR_io_destroy 207
224 #define __NR_io_getevents 208
225 #define __NR_io_submit 209
226 #define __NR_io_cancel 210
227 #define __NR_get_thread_area 211
228 #define __NR_lookup_dcookie 212
229 #define __NR_epoll_create 213
230 #define __NR_epoll_ctl_old 214
231 #define __NR_epoll_wait_old 215
232 #define __NR_remap_file_pages 216
233 #define __NR_getdents64 217
234 #define __NR_set_tid_address 218
235 #define __NR_restart_syscall 219
236 #define __NR_semtimedop 220
237 #define __NR_fadvise64 221
238 #define __NR_timer_create 222
239 #define __NR_timer_settime 223
240 #define __NR_timer_gettime 224
241 #define __NR_timer_getoverrun 225
242 #define __NR_timer_delete 226
243 #define __NR_clock_settime 227
244 #define __NR_clock_gettime 228
245 #define __NR_clock_getres 229
246 #define __NR_clock_nanosleep 230
247 #define __NR_exit_group 231
248 #define __NR_epoll_wait 232
249 #define __NR_epoll_ctl 233
250 #define __NR_tgkill 234
251 #define __NR_utimes 235
252 #define __NR_vserver 236
253 #define __NR_mbind 237
254 #define __NR_set_mempolicy 238
255 #define __NR_get_mempolicy 239
256 #define __NR_mq_open 240
257 #define __NR_mq_unlink 241
258 #define __NR_mq_timedsend 242
259 #define __NR_mq_timedreceive 243
260 #define __NR_mq_notify 244
261 #define __NR_mq_getsetattr 245
262 #define __NR_kexec_load 246
263 #define __NR_waitid 247
264 #define __NR_add_key 248
265 #define __NR_request_key 249
266 #define __NR_keyctl 250
267 #define __NR_ioprio_set 251
268 #define __NR_ioprio_get 252
269 #define __NR_inotify_init 253
270 #define __NR_inotify_add_watch 254
271 #define __NR_inotify_rm_watch 255
272 #define __NR_migrate_pages 256
273 #define __NR_openat 257
274 #define __NR_mkdirat 258
275 #define __NR_mknodat 259
276 #define __NR_fchownat 260
277 #define __NR_futimesat 261
278 #define __NR_newfstatat 262
279 #define __NR_unlinkat 263
280 #define __NR_renameat 264
281 #define __NR_linkat 265
282 #define __NR_symlinkat 266
283 #define __NR_readlinkat 267
284 #define __NR_fchmodat 268
285 #define __NR_faccessat 269
286 #define __NR_pselect6 270
287 #define __NR_ppoll 271
288 #define __NR_unshare 272
289 #define __NR_set_robust_list 273
290 #define __NR_get_robust_list 274
291 #define __NR_splice 275
292 #define __NR_tee 276
293 #define __NR_sync_file_range 277
294 #define __NR_vmsplice 278
295 #define __NR_move_pages 279
296 #define __NR_utimensat 280
297 #define __NR_epoll_pwait 281
298 #define __NR_signalfd 282
299 #define __NR_timerfd_create 283
300 #define __NR_eventfd 284
301 #define __NR_fallocate 285
302 #define __NR_timerfd_settime 286
303 #define __NR_timerfd_gettime 287
304 #define __NR_accept4 288
305 #define __NR_signalfd4 289
306 #define __NR_eventfd2 290
307 #define __NR_epoll_create1 291
308 #define __NR_dup3 292
309 #define __NR_pipe2 293
310 #define __NR_inotify_init1 294
311 #define __NR_preadv 295
312 #define __NR_pwritev 296
313 #define __NR_rt_tgsigqueueinfo 297
314 #define __NR_perf_event_open 298
315 #define __NR_recvmmsg 299
316 #define __NR_fanotify_init 300
317 #define __NR_fanotify_mark 301
318 #define __NR_prlimit64 302
319 #define __NR_name_to_handle_at 303
320 #define __NR_open_by_handle_at 304
321 #define __NR_clock_adjtime 305
322 #define __NR_syncfs 306
323 #define __NR_sendmmsg 307
324 #define __NR_setns 308
325 #define __NR_getcpu 309
326 #define __NR_process_vm_readv 310
327 #define __NR_process_vm_writev 311
328 #define __NR_kcmp 312
329 #define __NR_finit_module 313
330 #define __NR_sched_setattr 314
331 #define __NR_sched_getattr 315
332 #define __NR_renameat2 316
333 #define __NR_seccomp 317
334 #define __NR_getrandom 318
335 #define __NR_memfd_create 319
336 #define __NR_kexec_file_load 320
337 #define __NR_bpf 321
338 #define __NR_execveat 322
339 #define __NR_userfaultfd 323
340 #define __NR_membarrier 324
341 #define __NR_mlock2 325
342 #define __NR_copy_file_range 326
343 #define __NR_preadv2 327
344 #define __NR_pwritev2 328
345 #define __NR_pkey_mprotect 329
346 #define __NR_pkey_alloc 330
347 #define __NR_pkey_free 331
348 #define __NR_statx 332
349 #define __NR_io_pgetevents 333
350 #define __NR_rseq 334
351 #define __NR_pidfd_send_signal 424
352 #define __NR_io_uring_setup 425
353 #define __NR_io_uring_enter 426
354 #define __NR_io_uring_register 427
355 #define __NR_open_tree 428
356 #define __NR_move_mount 429
357 #define __NR_fsopen 430
358 #define __NR_fsconfig 431
359 #define __NR_fsmount 432
360 #define __NR_fspick 433
361 #define __NR_pidfd_open 434
362 #define __NR_clone3 435
363 #define __NR_close_range 436
364 #define __NR_openat2 437
365 #define __NR_pidfd_getfd 438
366 #define __NR_faccessat2 439
367 #define __NR_process_madvise 440
368 #define __NR_epoll_pwait2 441
369 #define __NR_mount_setattr 442
370 #define __NR_quotactl_fd 443
371 #define __NR_landlock_create_ruleset 444
372 #define __NR_landlock_add_rule 445
373 #define __NR_landlock_restrict_self 446
374 #define __NR_memfd_secret 447
375 #define __NR_process_mrelease 448
376 #define __NR_futex_waitv 449
377 #define __NR_set_mempolicy_home_node 450
378 #define __NR_cachestat 451
379 
380 
381 #endif /* _ASM_UNISTD_64_H */
382 [root@rocky:syscall]# 
383 [root@rocky:syscall]# 

 

 

 

三、参考资料:

 

  1、  syscall 用法(架构/系统调用的用法/系统调用的返回值/系统调用的参数)   -  man  syscall

 

  2、  有哪些系统调用(syscalls)  -  man  syscalls

posted on 2024-10-26 17:31  lnlidawei  阅读(15)  评论(0编辑  收藏  举报