-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md.j2
57 lines (34 loc) · 1.72 KB
/
README.md.j2
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
{{ auto_generated_disclaimer }}
# Awesome System Calls
A categorized list of system calls used by popular Unix-like operating systems.
Since the system calls are the primary way of how the OS processes interact with the outside world, this list can be very useful when evaluating what is possible or not on a given operating system.
There are various system call dumps on the internet and attempts to classify and group system calls in various research papers, but it's very hard to find both in the same place. And even if you do, chances are they will be wildly outdated and will only target a single OS.
The *awesome* word is used deliberately as an alias for "collection of", to help people Googling this project.
## System call statistics
{%- for os_info in os_infos %}
* {{ os_info.name }} ({{ os_info.emoji }}) — {{ os_info.count }}
{%- endfor %}
## Table of contents
{%- for category in categories recursive %}
{{ " " | repeat(loop.depth0) }}* [{{ category.name }}](#{{ category.slug }})
{%- if category.categories -%}
{{ loop(category.categories) }}
{%- endif -%}
{%- endfor %}
## System calls
{%- for category in categories recursive %}
{{ "#" | repeat(loop.depth0 + 3) }} {{ category.name }}
{%- if category.desc %}
{{ category.desc }}
{%- endif %}
{%- if category.syscalls %}
| Name | OS | Description |
|------|----|-------------|
{%- for syscall in category.syscalls %}
| `{{ syscall.name }}` | {% for per_os_info in syscall.per_os_infos %}[{{ per_os_info.os_emoji }}]({{ per_os_info.manpage_link }}){% if not loop.last %}, {% endif %}{% endfor %} | {% if syscall.desc %}{{ syscall.desc }}{% endif %} |
{%- endfor %}
{%- endif %}
{%- if category.categories -%}
{{ loop(category.categories) }}
{%- endif -%}
{%- endfor %}