-
Notifications
You must be signed in to change notification settings - Fork 0
/
categorization.yml
1037 lines (1037 loc) · 38.4 KB
/
categorization.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
processes-and-threads:
categories:
lifecycle:
syscalls:
- name: fork
desc: create a child process
- name: vfork
desc: create a child process and block parent
- name: clone
desc: create a child process or thread
- name: clone3
desc: create a child process or thread
- name: posix_spawn
desc: spawn a process
- name: execve
desc: execute a program
- name: execveat
desc: execute a program (relative to a directory file descriptor)
- name: wait4
desc: wait for process to change state
- name: waitid
desc: wait for process to change state
- name: exit
desc: terminate the calling process
lifecycle-thread-specific:
name: "Lifecycle (thread-specific)"
syscalls:
- name: tkill
desc: send a signal to a thread
- name: tgkill
desc: send a signal to a thread in a thread group
- name: thrkill
desc: send a signal to a thread
- name: exit_group
desc: exit all threads in a process's thread group
- name: set_tid_address
desc: set pointer to a thread ID
- name: __get_tcb
desc: get the address of the thread control block of the current thread
- name: __set_tcb
desc: set the address of the thread control block of the current thread
- name: __tfork
desc: create a new kernel thread in the current process
- name: __thrsleep
desc: userspace thread sleep
- name: __thrwakeup
desc: userspace thread wakeup
file-system-relationships:
syscalls:
- name: getcwd
desc: get current working directory
- name: __getcwd
desc: get current working directory
- name: chdir
desc: set current working directory
- name: fchdir
desc: set current working directory (referenced by a file descriptor)
- name: chroot
desc: change root directory
- name: pivot_root
desc: change root mount
- name: umask
desc: set file creation mode mask
- name: setfsuid
desc: set user identity used for filesystem checks
- name: setfsgid
desc: set group identity used for filesystem checks
credentials:
categories:
uid:
name: "UID"
syscalls:
- name: getuid
desc: get real user ID
- name: setuid
desc: set real user ID
- name: geteuid
desc: get effective user ID
- name: seteuid
desc: set effective user ID
- name: getresuid
desc: get real, effective and saved user IDs
- name: setresuid
desc: set real, effective and saved user IDs
- name: setreuid
desc: set real and effective user IDs
gid:
name: "GID"
syscalls:
- name: getgid
desc: get real group ID
- name: setgid
desc: set real group ID
- name: getegid
desc: get effective group ID
- name: setegid
desc: set effective group ID
- name: getresgid
desc: get real, effective and saved group IDs
- name: setresgid
desc: set real, effective and saved group IDs
- name: setregid
desc: set real and effective group IDs
- name: getgroups
desc: get supplementary group IDs
- name: setgroups
desc: set supplementary group IDs
process-groups-and-sessions:
syscalls:
- name: getpgrp
desc: get process group
- name: getpgid
desc: get process group (referenced by a process ID)
- name: setpgid
desc: set process group (referenced by a process ID)
- name: getsid
desc: get process session ID
- name: setsid
desc: set process sesssion ID
- name: getlogin_r
desc: get login name of the user associated with current session
- name: setlogin
desc: set login name of the user associated with current session
signals:
syscalls:
- name: kill
desc: send signal to a process
- name: pidfd_send_signal
desc: send signal to a process (referenced by a file descriptor)
- name: sigaction
desc: examine and change a signal action
- name: rt_sigaction
desc: examine and change a signal action
- name: sigaltstack
desc: manipulate signal stack context
- name: sigpending
desc: examine pending signals
- name: rt_sigpending
desc: examine pending signals
- name: sigprocmask
desc: examine and change blocked signals
- name: rt_sigprocmask
desc: examine and change blocked signals
- name: sigreturn
desc: return from the signal handler
- name: rt_sigreturn
desc: return from the signal handler
- name: sigsuspend
desc: wait for signal
- name: rt_sigsuspend
desc: wait for signal
- name: rt_sigtimedwait
desc: synchronously wait for queued signals
- name: rt_sigqueueinfo
desc: queue a signal and data
- name: rt_tgsigqueueinfo
desc: queue a signal and data
- name: __thrsigdivert
desc: synchronously accept a signal
virtual-memory:
categories:
allocation-and-deallocation:
syscalls:
- name: brk
desc: change data segment size
- name: sbrk
desc: increase data segment size
- name: mmap
desc: map files or devices into memory
- name: mmap2
desc: map files or devices into memory
- name: mremap
desc: remap a virtual memory address
- name: remap_file_pages
desc: create a nonlinear file mapping
- name: munmap
desc: remove a mapping
locking:
syscalls:
- name: mlock
desc: lock physical pages in memory
- name: mlock2
desc: lock physical pages in memory
- name: mlockall
desc: lock the address space of a process
- name: mincore
desc: determine whether pages are resident in memory
- name: munlock
desc: unlock physical pages in memory
- name: munlockall
desc: unlock the address space of a process
protection:
syscalls:
- name: mprotect
desc: control the protection of pages
- name: minherit
desc: control the inheritance of pages
- name: mimmutable
desc: control the immutability of pages
- name: kbind
desc: update protected memory for lazy-binding
- name: pkey_alloc
desc: allocate a protection key
- name: pkey_mprotect
desc: control the protection of pages and their protection keys
- name: pkey_free
desc: free a protection key
synchronization-advices-and-numa:
name: "Hints and synchronization"
syscalls:
- name: madvise
desc: give advice about use of memory
- name: process_madvise
desc: give advice about use of memory to a process
- name: mquery
desc: provide mapping hints to applications
- name: msync
desc: synchronize a mapped region
timers:
syscalls:
- name: getitimer
desc: get value of interval timer
- name: setitimer
desc: set value of interval timer
- name: timer_create
desc: create a POSIX per-process timer
- name: timer_gettime
desc: fetch state of POSIX per-process timer
- name: timer_settime
desc: arm/disarm the POSIX per-process timer
- name: timer_getoverrun
desc: get overrun count for a POSIX per-process timer
- name: timer_delete
desc: delete a POSIX per-process timer
- name: timerfd_gettime
desc: fetch state of a timer that notifies via file descriptor
- name: timerfd_settime
desc: arm/disarm a timer that notifies via file descriptor
metadata:
syscalls:
- name: getpid
desc: get process ID
- name: getppid
desc: get process ID of the parent
- name: gettid
desc: get thread ID
- name: getthrid
desc: get thread ID
- name: getthrname
desc: get thread name
- name: setthrname
desc: set thread name
- name: issetugid
desc: check if current executable is running `setuid` or `setgid`
- name: personality
desc: set the process execution domain
cpu-and-numa:
name: "CPU and NUMA"
syscalls:
- name: getcpu
desc: determine CPU and NUMA node on which the calling thread is running
- name: get_mempolicy
desc: retrieve NUMA memory policy for a thread
- name: set_mempolicy
desc: set default NUMA memory policy for a thread
- name: mbind
desc: set memory policy for a memory range
- name: move_pages
desc: move individual pages of a process to another node
- name: migrate_pages
desc: move all pages in a process to another set of nodes
scheduling:
syscalls:
- name: getpriority
desc: get process scheduling priority
- name: setpriority
desc: set process scheduling priority
- name: sched_yield
desc: yield the processor
- name: sched_getparam
desc: get scheduling parameters
- name: sched_setparam
desc: set scheduling parameters
- name: sched_getscheduler
desc: get scheduling policy/parameters
- name: sched_setscheduler
desc: set scheduling policy/parameters
- name: sched_getattr
desc: get scheduling policy and attributes
- name: sched_setattr
desc: set scheduling policy and attributes
- name: sched_get_priority_min
desc: get static priority range
- name: sched_get_priority_max
desc: get static priority range
- name: sched_rr_get_interval
desc: get the SCHED_RR interval (referenced by a process ID)
- name: sched_getaffinity
desc: get thread's CPU affinity mask
- name: sched_setaffinity
desc: set thread's CPU affinity mask
- name: ioprio_get
desc: get I/O scheduling class and and priority
- name: ioprio_set
desc: set I/O scheduling class and and priority
resource-limits-and-utilization:
syscalls:
- name: getrlimit
desc: get resource limits
- name: setrlimit
desc: set resource limits
- name: prlimit64
desc: control resource limits (referenced by a process ID)
- name: getrusage
desc: get resource usage
- name: times
desc: get process times
terminal:
syscalls:
- name: vhangup
desc: virtually hangup the current terminal
network-routing:
syscalls:
- name: getrtable
desc: get default routing table of the current process
- name: setrtable
desc: set default routing table of the current process
sleeping:
syscalls:
- name: nanosleep
desc: high-resolution sleep
- name: clock_nanosleep
desc: high-resolution sleep with specifiable clock
locking-and-synchronization:
syscalls:
- name: futex
desc: fast userspace locking primitive
- name: futex_waitv
desc: wait on array of futexes
- name: membarrier
desc: issue memory barriers on a set of threads
- name: get_robust_list
desc: get list of robust futexes
- name: set_robust_list
desc: set list of robust futexes
operations-on-other-processes-and-threads:
syscalls:
- name: ktrace
desc: configure process tracing
- name: ptrace
desc: configure process tracing
- name: process_vm_readv
desc: transfer data between process address spaces
- name: process_vm_writev
desc: transfer data between process address spaces
- name: prctl
desc: various operations on a process or a thread
- name: kcmp
desc: compare two processes to determine if they share a kernel resource
file-descriptors-and-handles:
categories:
open-or-create-a-file:
syscalls:
- name: open
desc: open or create a file
- name: openat
desc: open or create a file (relative to a directory file descriptor)
- name: openat2
desc: open or create a file (relative to a directory file descriptor)
- name: getfh
desc: obtain a handle for a path
- name: name_to_handle_at
desc: obtain a handle for a path
- name: fhopen
desc: open file via a handle
- name: open_by_handle_at
desc: open file via a handle
create-a-pipe:
syscalls:
- name: pipe
desc: create a pipe
- name: pipe2
desc: create a pipe
open-or-create-something-else:
syscalls:
- name: eventfd2
desc: create a file descriptor for event notification
- name: memfd_create
desc: create an anonymous file
- name: memfd_secret
desc: create an anonymous RAM-based file to access secret memory regions
- name: timerfd_create
desc: create a timer that notifies via file descriptor
- name: userfaultfd
desc: create a file descriptor for handling page faults in user space
- name: signalfd4
desc: create a file descriptor for accepting signals
- name: pidfd_open
desc: obtain a file descriptor that refers to a process
- name: pidfd_getfd
desc: obtain a duplicate of another process's file descriptor
duplicate-a-file-descriptor:
syscalls:
- name: dup
desc: duplicate an existing file descriptor
- name: dup2
desc: duplicate an existing file descriptor
- name: dup3
desc: duplicate an existing file descriptor
modify-file-descriptor-metadata:
syscalls:
- name: fcntl
desc: file control
- name: ioctl
desc: device control
- name: lseek
desc: reposition read/write file offset
- name: llseek
desc: reposition read/write file offset
- name: getdtablecount
desc: get descriptor table count
provide-file-descriptor-hints:
syscalls:
- name: fadvise64
desc: predeclare an access pattern for file data
- name: fadvise64_64
desc: predeclare an access pattern for file data
- name: readahead
desc: initiate file readahead into page cache
io:
name: "I/O on a file descriptor"
categories:
read:
syscalls:
- name: read
desc: read from a file descriptor
- name: readv
desc: read from a file descriptor
- name: pread
desc: read from a file descriptor at the specified offset
- name: preadv
desc: read from a file descriptor at the specified offset
- name: preadv2
desc: read from a file descriptor at the specified offset
write:
syscalls:
- name: write
desc: write to a file descriptor
- name: writev
desc: write to a file descriptor
- name: pwrite
desc: write to a file descriptor at the specified offset
- name: pwritev
desc: write to a file descriptor at the specified offset
- name: pwritev2
desc: write to a file descriptor at the specified offset
zero-copy:
name: "Zero-copy"
syscalls:
- name: copy_file_range
desc: copy a range of bytes between two file descriptors that refer to files
- name: sendfile
desc: move data from source (must support `mmap`-like operations) to a destination file descriptor
- name: tee
desc: duplicate pipe content
- name: splice
desc: move data to/from a pipe
- name: vmsplice
desc: splice user pages to/from a pipe
close-a-file-descriptor:
syscalls:
- name: close
desc: close a file descriptor
- name: closefrom
desc: close all file descriptors starting from the specified file descriptor
- name: close_range
desc: close all file descriptors in a given range
file-system:
categories:
create-an-object:
syscalls:
- name: mkdir
desc: create a directory file
- name: mkdirat
desc: create a directory file (relative to a directory file descriptor)
- name: mkfifo
desc: create a FIFO file
- name: mkfifoat
desc: create a FIFO file (relative to a directory file descriptor)
- name: mknod
desc: create a special file node
- name: mknodat
desc: create a special file node (relative to a directory file descriptor)
- name: link
desc: create a hard link to file
- name: linkat
desc: create a hard link to file (relative to a directory file descriptor)
- name: symlink
desc: create a symbolic link to file
- name: symlinkat
desc: create a symbolic link to file (relative to a directory file descriptor)
modify-an-object:
syscalls:
- name: rename
desc: change the name or location of a file
- name: renameat
desc: change the name or location of a file (relative to a directory file descriptor)
- name: renameat2
desc: change the name or location of a file (relative to a directory file descriptor)
- name: renameatx_np
desc: change the name or location of a file (relative to a directory file descriptor)
- name: clonefileat
desc: create a copy-on-write clone of files
- name: fclonefileat
desc: create a copy-on-write clone of files (referenced by a file descriptor)
- name: truncate
desc: truncate or extend a file to a specified length
- name: ftruncate
desc: truncate or extend a file to a specified length (referenced by a file descriptor)
- name: fallocate
desc: manipulate file space
change-object-permissions:
syscalls:
- name: access
desc: check access permissions for a file
- name: faccessat
desc: check access permissions for a file (relative to a directory file descriptor)
- name: faccessat2
desc: check access permissions for a file (relative to a directory file descriptor)
- name: chmod
desc: change mode of file
- name: fchmod
desc: change mode of file (referenced by a file descriptor)
- name: fchmodat
desc: change mode of file (relative to a directory file descriptor)
- name: fchmodat2
desc: change mode of file (relative to a directory file descriptor)
- name: chown
desc: change owner and group of a file
- name: lchown
desc: change owner and group of a file
- name: fchown
desc: change owner and group of a file (referenced by a file descriptor)
- name: fchownat
desc: change owner and group of a file (relative to a directory file descriptor)
- name: chflags
desc: set file flags
- name: fchflags
desc: set file flags (referenced by a file descriptor)
- name: chflagsat
desc: set file flags (relative to a directory file descriptor)
retrieve-object-stats:
syscalls:
- name: readlink
desc: read value of a symbolic link
- name: readlinkat
desc: read value of a symbolic link (relative to a directory file descriptor)
- name: stat
desc: get file status
- name: lstat
desc: get file status
- name: fstat
desc: get file status (referenced by a file handle)
- name: fstatat
desc: get file status (relative to a directory file descriptor)
- name: statx
desc: get file status (relative to a directory file descriptor)
- name: fhstat
desc: get file status (referenced by a file handle)
- name: statfs
desc: get file system statistics
- name: fstatfs
desc: get file system statistics (referenced by a file descriptor)
- name: fhstatfs
desc: get file system statistics (referenced by a file handle)
- name: newfstatat
desc: get file system statistics (relative to a directory file descriptor)
- name: utimes
desc: set file access and modification times
- name: lutimes
desc: set file access and modification times
- name: utimensat
desc: set file access and modification times (relative to a directory file descriptor)
- name: futimes
desc: set file access and modification times
- name: futimens
desc: set file access and modification times
- name: getdents
desc: get directory entries in a filesystem independent format
remove-object:
syscalls:
- name: unlink
desc: remove directory entry
- name: unlinkat
desc: remove directory entry (relative to a directory file descriptor)
- name: rmdir
desc: remove a directory file
advisory-locking:
syscalls:
- name: flock
desc: apply or remove an advisory lock on an open file
mount-points:
syscalls:
- name: mount
desc: mount a filesystem
- name: getfsstat
desc: get list of all mounted file systems
- name: unmount
desc: dismount a filesystem
- name: umount2
desc: dismount a filesystem
change-global-file-system-state:
syscalls:
- name: sync
desc: synchronize disk in-core state with storage device
- name: fsync
desc: synchronize file in-core state with storage device
- name: fdatasync
desc: synchronize file in-core state with storage device
- name: sync_file_range
desc: synchronize file's segment with disk
- name: sync_file_range2
desc: synchronize file's segment with disk
- name: syncfs
desc: commit filesystem caches to disk
change-object-extended-attributes:
syscalls:
- name: getxattr
desc: retrieve an extended attribute value
- name: lgetxattr
desc: retrieve an extended attribute value
- name: fgetxattr
desc: retrieve an extended attribute value (referenced by a file descriptor)
- name: setxattr
desc: set an extended attribute value
- name: lsetxattr
desc: set an extended attribute value
- name: fsetxattr
desc: set an extended attribute value (referenced by a file descriptor)
- name: listxattr
desc: list extended attribute names
- name: llistxattr
desc: list extended attribute names
- name: flistxattr
desc: list extended attribute names (referenced by a file descriptor)
- name: removexattr
desc: remove an extended attribute
- name: lremovexattr
desc: remove an extended attribute
- name: fremovexattr
desc: remove an extended attribute (referenced by a file descriptor)
watch-objects:
syscalls:
- name: inotify_init1
desc: initialize an [`inotify(7)`](https://man7.org/linux/man-pages/man7/inotify.7.html) instance
- name: inotify_add_watch
desc: add a watch to an initialized `inotify(7)` instance
- name: inotify_rm_watch
desc: remove an existing watch from an `inotify(7)` instance
- name: fanotify_init
desc: create and initialize [`fanotify(7)`](https://man7.org/linux/man-pages/man7/fanotify.7.html) group
- name: fanotify_mark
desc: add, remove, or modify an `fanotify(7)` mark on a filesystem object
retrieve-filesystem-variables:
name: "Retrieve filesystem variables"
syscalls:
- name: pathconf
desc: get configurable pathname variables
- name: fpathconf
desc: get configurable pathname variables (referenced by a file descriptor)
network:
categories:
berkeley-sockets:
categories:
create:
syscalls:
- name: socket
desc: create an endpoint for communication
- name: socketpair
desc: create a pair of connected sockets
socket-lifecycle:
syscalls:
- name: connect
desc: initiate a connection on a socket
- name: bind
desc: bind a name to a socket
- name: listen
desc: listen for connections on a socket
- name: accept
desc: accept a connection on a socket
- name: accept4
desc: accept a connection on a socket
socket-metadata:
syscalls:
- name: getsockname
desc: get local protocol address associated with a socket
- name: getpeername
desc: get remote protocol address associated with a socket
- name: getsockopt
desc: get socket options
- name: setsockopt
desc: set socket options
io:
name: "I/O on a socket"
syscalls:
- name: recvfrom
desc: receive a message from a socket
- name: recvmsg
desc: receive a message from a socket
- name: recvmmsg
desc: receive a message from a socket
- name: sendto
desc: send a message on a socket
- name: sendmsg
desc: send a message on a socket
- name: sendmmsg
desc: send a message on a socket
- name: shutdown
desc: disable sends or receives on a socket
nfs:
name: "NFS"
syscalls:
- name: nfssvc
desc: NFS daemon services
- name: nfsservctl
desc: NFS daemon services
polling-multiplexing-and-async-io:
name: "Polling, multiplexing and asynchronous I/O"
categories:
polling-and-multiplexing:
syscalls:
- name: select
desc: synchronous I/O multiplexing
- name: pselect
desc: synchronous I/O multiplexing
- name: pselect6
desc: synchronous I/O multiplexing
- name: poll
desc: synchronous I/O multiplexing
- name: ppoll
desc: synchronous I/O multiplexing
- name: kqueue
desc: create a new kernel event queue
- name: kqueue1
desc: create a new kernel event queue
- name: kevent
desc: register events with the kernel event queue
- name: epoll_create1
desc: open an [`epoll(7)`](https://man7.org/linux/man-pages/man7/epoll.7.html) file descriptor
- name: epoll_ctl
desc: control interface for an `epoll(7)` file descriptor
- name: epoll_pwait
desc: wait for an I/O event on an `epoll(7)` file descriptor
- name: epoll_pwait2
desc: wait for an I/O event on an `epoll(7)` file descriptor
posix:
name: "POSIX asynchronous I/O"
syscalls:
- name: aio_read
desc: asynchronous read from a file
- name: aio_write
desc: asynchronous write to a file
- name: aio_fsync
desc: asynchronous `fsync`
- name: aio_mlock
desc: asynchronous `mlock`
- name: aio_return
desc: retrieve return status of an asynchronous I/O operation
- name: aio_error
desc: retrieve error status of asynchronous I/O operation
- name: aio_suspend
desc: suspend until asynchronous I/O operations complete or time out
- name: aio_waitcomplete
desc: wait for the next completion of an asynchronous I/O operation
- name: aio_cancel
desc: cancel an outstanding asynchronous I/O operation
linux-async-io:
name: "Asynchronous I/O (Linux)"
syscalls:
- name: io_setup
desc: create an asynchronous I/O context
- name: io_submit
desc: submit asynchronous I/O blocks for processing
- name: io_getevents
desc: read asynchronous I/O events from the completion queue
- name: io_pgetevents
desc: read asynchronous I/O events from the completion queue
- name: io_cancel
desc: cancel an outstanding asynchronous I/O operation
- name: io_destroy
desc: destroy an asynchronous I/O context
io-uring:
name: "io_uring (Linux)"
syscalls:
- name: io_uring_setup
desc: setup a context for performing asynchronous I/O
- name: io_uring_register
desc: register files or user buffers for asynchronous I/O
- name: io_uring_enter
desc: initiate and/or complete asynchronous I/O
security:
categories:
sandboxing:
syscalls:
- name: seccomp
desc: operate on Secure Computing state of the process
- name: revoke
desc: revoke file access
- name: pledge
desc: force the current process into a restricted-service operating mode
- name: unveil
desc: unveil parts of a restricted filesystem view
- name: msyscall
desc: permit system calls from a region of pages
- name: pinsyscall
desc: specify the call stub for a specific system call
freebsd-jails:
name: "Jails (FreeBSD)"
desc: See [Jails and Containers](https://docs.freebsd.org/en/books/handbook/jails/) chapter in the FreeBSD Handbook for more details.
syscalls:
- name: jail
desc: sets up a jail and locks the current process in it
- name: jail_attach
desc: attaches the current process to an existing jail
- name: jail_get
desc: retrieves jail parameters
- name: jail_set
desc: creates a new jail or modifies an existing one
- name: jail_remove
desc: removes the jail
linux-capabilities:
name: "Capabilities (Linux)"
desc: See [`capabilities(7)`](https://man7.org/linux/man-pages/man7/capabilities.7.html) man page for more details.
syscalls:
- name: capget
desc: get capabilities of thread(s)
- name: capset
desc: set capabilities of thread(s)
linux-namespaces:
name: "Namespaces (Linux)"
desc: See [`namespaces(7)`](https://man7.org/linux/man-pages/man7/namespaces.7.html) man page for more details.
syscalls:
- name: setns
desc: reassociate thread with a namespace
- name: unshare
desc: disassociate parts of the process execution context
linux-landlock:
name: "Landlock (Linux)"
desc: See [`landlock(7)`](https://man7.org/linux/man-pages/man7/landlock.7.html) man page for more details.
syscalls:
- name: landlock_create_ruleset
desc: create a new Landlock ruleset
- name: landlock_add_rule
desc: add a new Landlock rule to a ruleset
- name: landlock_restrict_self
desc: enforce a Landlock ruleset
entropy-and-random:
syscalls:
- name: getentropy
desc: get high-quality entropy
- name: getrandom
desc: get high-quality entropy
kernel-key-retention-service:
name: Kernel Key Retention Service
desc: See [Kernel Key Retention Service](https://www.kernel.org/doc/html/v5.0/security/keys/core.html) documentation for more details.
syscalls:
- name: add_key
desc: add a key to the kernel's key management facility
- name: request_key
desc: request a key from the kernel's key management facility
- name: keyctl
desc: manipulate the kernel's key management facility
interprocess-communication:
categories:
system-v-semaphores:
name: "System V semaphores"
syscalls:
- name: semget
desc: retrieve semaphore set
- name: semop
desc: atomic operations on a set of semaphores
- name: semtimedop
desc: atomic operations on a set of semaphores (with timeout)
- name: semctl
desc: control operations on a set of semaphores
- name: __semctl
desc: control operations on a set of semaphores
message-queues:
name: "POSIX message queues"
syscalls:
- name: msgget
desc: retrieve message queue
- name: msgrcv
desc: receive a message from a message queue
- name: msgsnd
desc: send a message to a message queue
- name: msgctl
desc: control operations on a message queue
- name: mq_open
desc: open a message queue
- name: mq_timedreceive
desc: receive a message from a message queue
- name: mq_timedsend
desc: send a message to a message queue
- name: mq_notify
desc: register for notification when a message is available
- name: mq_getsetattr
desc: get/set message queue attributes
- name: mq_unlink
desc: remove a message queue
shared-memory:
syscalls:
- name: shmat
desc: map shared memory area
- name: shmget
desc: get shared memory area identifier
- name: shmctl
desc: shared memory area control operations
- name: shmdt
desc: unmap shared memory area
system:
categories:
general:
syscalls:
- name: reboot
desc: reboot system or halt processor
- name: sysctl
desc: manipulate system information
- name: sysinfo
desc: return system information
- name: uname
desc: get name and information about current kernel
- name: sethostname
desc: manipulate hostname
- name: setdomainname
desc: manipulate NIS domain name
kernel:
categories:
kernel-module-management:
name: "Kernel module management (Linux)"
syscalls:
- name: init_module
desc: load a kernel module
- name: finit_module
desc: load a kernel module (referenced by a file descriptor)
- name: delete_module
desc: unload a kernel module
kexec:
name: "kexec (Linux)"
syscalls:
- name: kexec_load
desc: load a new kernel for later execution
- name: kexec_file_load
desc: load a new kernel for later execution (referenced by a file descriptor)
freebsd-dynamic-kernel-linker-facility:
name: "Dynamic kernel linker facility (FreeBSD)"
desc: See [`kld(4)`](https://man.freebsd.org/cgi/man.cgi?query=kld&sektion=4) man page for more details
syscalls:
- name: kldload
desc: load KLD file into the kernel
- name: kldunload
desc: unload KLD fileid from the kernel
- name: kldunloadf
desc: unload KLD fileid from the kernel
- name: kldsym
desc: look up address by symbol name in a KLD file
- name: kldfind
desc: return the fileid of a KLD file
- name: kldnext
desc: return the fileid of the next KLD file
- name: kldstat
desc: get status of a KLD file
- name: kldfirstmod
desc: return first module ID from the KLD file
system-log:
syscalls:
- name: syslog
desc: read and/or clear kernel message ring buffer
- name: sendsyslog
desc: send a message to `syslogd(8)` daemon
- name: utrace
desc: insert user record in `ktrace(2)` log
swap:
syscalls:
- name: swapctl
desc: modify swap configuration
- name: swapon
desc: start swapping to a file/device
- name: swapoff
desc: stop swapping from a file/device
clock-and-time-functions:
syscalls:
- name: gettimeofday
desc: get the time of day
- name: settimeofday
desc: set the time of day
- name: clock_gettime
desc: get the time of a given clock
- name: clock_settime
desc: set the time for a given clock