raytrace-cli 0.11.1__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. raytrace/__init__.py +1 -0
  2. raytrace/__main__.py +33 -0
  3. raytrace/app/LICENSE +21 -0
  4. raytrace/app/README.md +599 -0
  5. raytrace/app/bin/raytrace.mjs +297 -0
  6. raytrace/app/dist/dashboard/assets/dm-sans-latin-400-normal-BwCSEQnW.woff +0 -0
  7. raytrace/app/dist/dashboard/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2 +0 -0
  8. raytrace/app/dist/dashboard/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2 +0 -0
  9. raytrace/app/dist/dashboard/assets/dm-sans-latin-500-normal-Dr3UlScf.woff +0 -0
  10. raytrace/app/dist/dashboard/assets/dm-sans-latin-600-normal-Aqo67rzb.woff2 +0 -0
  11. raytrace/app/dist/dashboard/assets/dm-sans-latin-600-normal-BmdmIIQ2.woff +0 -0
  12. raytrace/app/dist/dashboard/assets/dm-sans-latin-700-normal-CUSSCpQX.woff +0 -0
  13. raytrace/app/dist/dashboard/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2 +0 -0
  14. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-400-normal-BjWJ59Pq.woff +0 -0
  15. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-400-normal-BtiwyxMk.woff2 +0 -0
  16. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-500-normal-BJfUCQsA.woff2 +0 -0
  17. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-500-normal-DR84L5F-.woff +0 -0
  18. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-600-normal-4vooXBpG.woff2 +0 -0
  19. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-600-normal-DRtaDpgU.woff +0 -0
  20. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-700-normal-BLI3TTWz.woff +0 -0
  21. raytrace/app/dist/dashboard/assets/dm-sans-latin-ext-700-normal-CJIcxD6K.woff2 +0 -0
  22. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
  23. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
  24. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
  25. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
  26. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-600-normal-CTOM6hUh.woff2 +0 -0
  27. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-600-normal-fLZuRloM.woff +0 -0
  28. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
  29. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
  30. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
  31. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
  32. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-ext-600-normal-9HEixskS.woff +0 -0
  33. raytrace/app/dist/dashboard/assets/ibm-plex-mono-cyrillic-ext-600-normal-V-xxqcpd.woff2 +0 -0
  34. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
  35. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
  36. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
  37. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
  38. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2 +0 -0
  39. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff +0 -0
  40. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
  41. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
  42. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
  43. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
  44. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-ext-600-normal-D38SheWl.woff2 +0 -0
  45. raytrace/app/dist/dashboard/assets/ibm-plex-mono-latin-ext-600-normal-DmB0ttJJ.woff +0 -0
  46. raytrace/app/dist/dashboard/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
  47. raytrace/app/dist/dashboard/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
  48. raytrace/app/dist/dashboard/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
  49. raytrace/app/dist/dashboard/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
  50. raytrace/app/dist/dashboard/assets/ibm-plex-mono-vietnamese-600-normal-D2EvbN8M.woff2 +0 -0
  51. raytrace/app/dist/dashboard/assets/ibm-plex-mono-vietnamese-600-normal-iLQfcSjf.woff +0 -0
  52. raytrace/app/dist/dashboard/assets/index-DepcI8Fi.js +38 -0
  53. raytrace/app/dist/dashboard/assets/index-H97VLD5l.css +1 -0
  54. raytrace/app/dist/dashboard/favicon.svg +6 -0
  55. raytrace/app/dist/dashboard/index.html +15 -0
  56. raytrace/app/package.json +48 -0
  57. raytrace/app/proxy/agent-intent-schema.test.mjs +142 -0
  58. raytrace/app/proxy/call-assessment.mjs +385 -0
  59. raytrace/app/proxy/call-assessment.test.mjs +167 -0
  60. raytrace/app/proxy/call-category.mjs +461 -0
  61. raytrace/app/proxy/capture-health.mjs +30 -0
  62. raytrace/app/proxy/capture-health.test.mjs +44 -0
  63. raytrace/app/proxy/capture.mjs +38 -0
  64. raytrace/app/proxy/capture.test.mjs +49 -0
  65. raytrace/app/proxy/claude-code-adapter.mjs +301 -0
  66. raytrace/app/proxy/claude-code-hook.mjs +22 -0
  67. raytrace/app/proxy/codex-config.mjs +36 -0
  68. raytrace/app/proxy/codex.mjs +14 -0
  69. raytrace/app/proxy/evidence-schema.test.mjs +240 -0
  70. raytrace/app/proxy/evidence-store.mjs +993 -0
  71. raytrace/app/proxy/evidence-store.test.mjs +301 -0
  72. raytrace/app/proxy/exec-narrative.mjs +625 -0
  73. raytrace/app/proxy/exec-narrative.test.mjs +262 -0
  74. raytrace/app/proxy/execution-correlation.mjs +185 -0
  75. raytrace/app/proxy/execution-correlation.test.mjs +146 -0
  76. raytrace/app/proxy/execution-runner.mjs +89 -0
  77. raytrace/app/proxy/execution-runner.test.mjs +38 -0
  78. raytrace/app/proxy/experiment-engine.mjs +195 -0
  79. raytrace/app/proxy/experiment-engine.test.mjs +93 -0
  80. raytrace/app/proxy/explanations.mjs +36 -0
  81. raytrace/app/proxy/explanations.test.mjs +20 -0
  82. raytrace/app/proxy/failure-signature.mjs +56 -0
  83. raytrace/app/proxy/gvisor-forwarder.mjs +493 -0
  84. raytrace/app/proxy/gvisor-forwarder.test.mjs +433 -0
  85. raytrace/app/proxy/init-evidence-db.mjs +227 -0
  86. raytrace/app/proxy/local-sandboxes.mjs +94 -0
  87. raytrace/app/proxy/local-token.mjs +30 -0
  88. raytrace/app/proxy/playground-recovery.test.mjs +130 -0
  89. raytrace/app/proxy/playground.mjs +439 -0
  90. raytrace/app/proxy/prompt-context.mjs +278 -0
  91. raytrace/app/proxy/prompt-traces.mjs +40 -0
  92. raytrace/app/proxy/prompt-traces.test.mjs +32 -0
  93. raytrace/app/proxy/providers.mjs +65 -0
  94. raytrace/app/proxy/providers.test.mjs +76 -0
  95. raytrace/app/proxy/proxy.integration.test.mjs +135 -0
  96. raytrace/app/proxy/raytace-proxy.mjs +941 -0
  97. raytrace/app/proxy/request-metrics.mjs +13 -0
  98. raytrace/app/proxy/request-metrics.test.mjs +19 -0
  99. raytrace/app/proxy/request-policy.mjs +45 -0
  100. raytrace/app/proxy/request-policy.test.mjs +47 -0
  101. raytrace/app/proxy/run-recap.mjs +139 -0
  102. raytrace/app/proxy/runtime-attribution.mjs +110 -0
  103. raytrace/app/proxy/sandbox-bridge.mjs +49 -0
  104. raytrace/app/proxy/schema/EVIDENCE_DATABASE.md +276 -0
  105. raytrace/app/proxy/schema/agent_intent.sql +101 -0
  106. raytrace/app/proxy/schema/auxiliary.sql +90 -0
  107. raytrace/app/proxy/schema/capture_health.sql +14 -0
  108. raytrace/app/proxy/schema/classification.sql +89 -0
  109. raytrace/app/proxy/schema/file_context.sql +53 -0
  110. raytrace/app/proxy/schema/runtime_evidence.sql +201 -0
  111. raytrace/app/proxy/schema/search.sql +66 -0
  112. raytrace/app/proxy/schema/shared_storage.sql +21 -0
  113. raytrace/app/proxy/search.mjs +418 -0
  114. raytrace/app/proxy/search.test.mjs +161 -0
  115. raytrace/app/proxy/smoke.test.mjs +93 -0
  116. raytrace/app/proxy/step-attribution.mjs +380 -0
  117. raytrace/app/proxy/step-lab.mjs +78 -0
  118. raytrace/app/proxy/step-lab.test.mjs +38 -0
  119. raytrace/app/proxy/summaries.mjs +151 -0
  120. raytrace/app/proxy/summaries.test.mjs +69 -0
  121. raytrace/app/proxy/tool-metadata.mjs +111 -0
  122. raytrace/app/proxy/tool-metadata.test.mjs +38 -0
  123. raytrace/app/proxy/trace-view.mjs +324 -0
  124. raytrace/app/proxy/trace-view.test.mjs +92 -0
  125. raytrace/app/proxy/typesafe.mjs +63 -0
  126. raytrace/app/proxy/typesafe.test.mjs +39 -0
  127. raytrace/app/src/agents.mjs +7 -0
  128. raytrace/app/src/api.mjs +57 -0
  129. raytrace/app/src/auth.mjs +205 -0
  130. raytrace/app/src/beta.mjs +96 -0
  131. raytrace/app/src/claude-code.mjs +93 -0
  132. raytrace/app/src/commands.mjs +285 -0
  133. raytrace/app/src/config.mjs +49 -0
  134. raytrace/app/src/export.mjs +200 -0
  135. raytrace/app/src/lima.mjs +176 -0
  136. raytrace/app/src/local-sandbox.mjs +358 -0
  137. raytrace/app/src/mcp.mjs +688 -0
  138. raytrace/app/src/paths.mjs +33 -0
  139. raytrace/app/src/prompt.mjs +42 -0
  140. raytrace/app/src/proxy-process.mjs +143 -0
  141. raytrace/app/src/sandbox.mjs +306 -0
  142. raytrace/app/src/share.mjs +86 -0
  143. raytrace/app/src/terminal.mjs +68 -0
  144. raytrace/app/src/upload.mjs +198 -0
  145. raytrace/app/worker/sandbox/Dockerfile +8 -0
  146. raytrace/app/worker/sandbox/SYSCALL_CATALOG.md +197 -0
  147. raytrace/app/worker/sandbox/claude-hook.mjs +364 -0
  148. raytrace/app/worker/sandbox/collector.py +405 -0
  149. raytrace/app/worker/sandbox/dns_forwarder.py +255 -0
  150. raytrace/app/worker/sandbox/engine.py +940 -0
  151. raytrace/app/worker/sandbox/file_scan.py +491 -0
  152. raytrace/app/worker/sandbox/lima.yaml +29 -0
  153. raytrace/app/worker/sandbox/network.py +90 -0
  154. raytrace/app/worker/sandbox/projects.py +702 -0
  155. raytrace/app/worker/sandbox/setup.py +159 -0
  156. raytrace/app/worker/sandbox/syscall_catalog.sql +985 -0
  157. raytrace/app/worker/sandbox/transcript-delivery.test.mjs +153 -0
  158. raytrace/app/worker/sandbox/viewer.py +195 -0
  159. raytrace/node/LICENSE +2946 -0
  160. raytrace/node/node.exe +4 -0
  161. raytrace_cli-0.11.1.dist-info/LICENSE +21 -0
  162. raytrace_cli-0.11.1.dist-info/METADATA +42 -0
  163. raytrace_cli-0.11.1.dist-info/RECORD +165 -0
  164. raytrace_cli-0.11.1.dist-info/WHEEL +4 -0
  165. raytrace_cli-0.11.1.dist-info/entry_points.txt +2 -0
@@ -0,0 +1,985 @@
1
+ -- RayTrace syscall catalog, version 2.
2
+ -- One row per Linux syscall name gVisor knows, in every group: files, network,
3
+ -- process, identity, memory, IPC, time and other. `capture` is RayTrace's own
4
+ -- decision for each row, and it is carried out: setup.py builds gVisor's trace
5
+ -- configuration from it, and engine.py names raw events with syscall_numbers.
6
+ -- Loading this file into a database enables nothing by itself.
7
+ -- Standalone SQLite database; do not add to application migrations.
8
+ -- Names are Linux syscall names, not shell commands or libc aliases. Numbers
9
+ -- differ by architecture and are in syscall_numbers.
10
+ -- Re-import updates catalog-owned rows without replacing/deleting other rows.
11
+ -- syscall_numbers and syscall_coverage are generated from gVisor's source by
12
+ -- catalog_numbers.py and are replaced whole.
13
+ -- Event outcome and confirmed effect must remain separate from default impact.
14
+ PRAGMA foreign_keys = ON;
15
+ BEGIN TRANSACTION;
16
+
17
+ CREATE TABLE IF NOT EXISTS syscall_impact_levels (
18
+ level INTEGER PRIMARY KEY CHECK (level BETWEEN 0 AND 3),
19
+ label TEXT NOT NULL,
20
+ description TEXT NOT NULL
21
+ );
22
+
23
+ CREATE TABLE IF NOT EXISTS syscall_groups (
24
+ group_id TEXT PRIMARY KEY,
25
+ label TEXT NOT NULL,
26
+ description TEXT NOT NULL
27
+ );
28
+
29
+ CREATE TABLE IF NOT EXISTS syscall_categories (
30
+ category_id TEXT PRIMARY KEY,
31
+ label TEXT NOT NULL,
32
+ description TEXT NOT NULL
33
+ );
34
+
35
+ CREATE TABLE IF NOT EXISTS syscall_catalog (
36
+ syscall_name TEXT PRIMARY KEY,
37
+ description TEXT NOT NULL CHECK (length(trim(description)) > 0),
38
+ group_id TEXT NOT NULL REFERENCES syscall_groups(group_id),
39
+ category_id TEXT NOT NULL REFERENCES syscall_categories(category_id),
40
+ default_impact_level INTEGER REFERENCES syscall_impact_levels(level)
41
+ CHECK (default_impact_level IS NULL OR default_impact_level BETWEEN 0 AND 3),
42
+ classification_rule TEXT NOT NULL CHECK (length(trim(classification_rule)) > 0),
43
+ required_evidence TEXT NOT NULL CHECK (length(trim(required_evidence)) > 0),
44
+ interpretation_notes TEXT NOT NULL CHECK (length(trim(interpretation_notes)) > 0),
45
+ -- yes: its gVisor trace point is subscribed.
46
+ -- watcher: only its raw exit point is subscribed (who, when, refused or
47
+ -- not); gVisor does not decode its path, so the host's file
48
+ -- watcher supplies the name.
49
+ -- sentry: seen through gVisor's own process points (clone, exec, exit),
50
+ -- whatever syscall caused them.
51
+ -- no: not captured.
52
+ capture TEXT NOT NULL DEFAULT 'no' CHECK (capture IN ('yes', 'watcher', 'sentry', 'no')),
53
+ -- Optional fields to ask gVisor for on that point, a JSON list.
54
+ capture_fields TEXT NOT NULL DEFAULT '[]' CHECK (json_valid(capture_fields) AND json_type(capture_fields) = 'array'),
55
+ -- The engine.py rule that reads the event; null when nothing does.
56
+ effect_rule TEXT,
57
+ catalog_version INTEGER NOT NULL DEFAULT 2 CHECK (catalog_version = 2)
58
+ );
59
+
60
+ -- Generated. A syscall number names a different call on each architecture.
61
+ -- `support` is gVisor's own: unsupported calls fail inside the sandbox.
62
+ CREATE TABLE IF NOT EXISTS syscall_numbers (
63
+ arch TEXT NOT NULL CHECK (arch IN ('x86_64', 'aarch64')),
64
+ sysno INTEGER NOT NULL CHECK (sysno >= 0),
65
+ syscall_name TEXT NOT NULL REFERENCES syscall_catalog(syscall_name),
66
+ support TEXT NOT NULL CHECK (support IN ('supported', 'partial', 'unsupported')),
67
+ PRIMARY KEY (arch, sysno),
68
+ UNIQUE (arch, syscall_name)
69
+ );
70
+
71
+ -- Generated, one row per syscall of one gVisor release. `point` is the typed
72
+ -- trace point (decoded paths, flags, addresses); null means gVisor reports the
73
+ -- call by number and six integers only. `observed` is what a live test saw
74
+ -- (spike_points.py): 1 arrived, 0 subscribed and silent, null not tested.
75
+ CREATE TABLE IF NOT EXISTS syscall_coverage (
76
+ gvisor_release TEXT NOT NULL,
77
+ syscall_name TEXT NOT NULL REFERENCES syscall_catalog(syscall_name),
78
+ point TEXT,
79
+ optional_fields TEXT NOT NULL DEFAULT '[]' CHECK (json_valid(optional_fields) AND json_type(optional_fields) = 'array'),
80
+ observed INTEGER CHECK (observed IS NULL OR observed IN (0, 1)),
81
+ observed_fields TEXT NOT NULL DEFAULT '[]' CHECK (json_valid(observed_fields) AND json_type(observed_fields) = 'array'),
82
+ PRIMARY KEY (gvisor_release, syscall_name)
83
+ );
84
+
85
+ INSERT INTO syscall_impact_levels (level, label, description) VALUES
86
+ (0, 'Observe', 'Read or inspect without an explicit mutation request; sensitive reads and incidental atime updates are possible. Impact is not maliciousness.'),
87
+ (1, 'Create', 'Add a filesystem entry without replacing existing data. Impact is not maliciousness.'),
88
+ (2, 'Modify', 'Change existing file contents, metadata, layout or location. Impact is not maliciousness.'),
89
+ (3, 'Remove/replace', 'Remove a filesystem entry or replace an existing destination. Impact is not maliciousness.')
90
+ ON CONFLICT(level) DO UPDATE SET label=excluded.label, description=excluded.description;
91
+
92
+ INSERT INTO syscall_groups (group_id, label, description) VALUES
93
+ ('files', 'Files', 'Files, directories, mounts and the descriptors that refer to them.'),
94
+ ('network', 'Network', 'Sockets: connecting, listening and transferring data.'),
95
+ ('process', 'Process', 'Starting, replacing, signalling, controlling and inspecting processes and threads.'),
96
+ ('identity', 'Identity', 'User and group identity and capabilities.'),
97
+ ('memory', 'Memory', 'Address space management.'),
98
+ ('ipc', 'IPC', 'Pipes, shared memory, semaphores, message queues and locks between processes.'),
99
+ ('time', 'Time', 'Clocks, timers and sleeping.'),
100
+ ('other', 'Other', 'Waiting for events, system information and administration.')
101
+ ON CONFLICT(group_id) DO UPDATE SET label=excluded.label, description=excluded.description;
102
+
103
+ INSERT INTO syscall_categories (category_id, label, description) VALUES
104
+ ('open', 'Open', 'Open a file with access and optional creation or truncation semantics.'),
105
+ ('read', 'Read', 'Read file data.'),
106
+ ('inspect', 'Inspect', 'Inspect metadata, directory entries or link targets.'),
107
+ ('create_directory', 'Create directory', 'Add a directory.'),
108
+ ('write', 'Write', 'Write or append file data.'),
109
+ ('resize', 'Resize / allocate', 'Set file length or manipulate file ranges.'),
110
+ ('delete', 'Delete', 'Remove a filesystem entry.'),
111
+ ('rename', 'Rename / replace', 'Move, exchange or replace filesystem entries.'),
112
+ ('copy', 'Copy / transfer', 'Transfer data between descriptors.'),
113
+ ('metadata_change', 'Metadata change', 'Change file permissions, ownership, attributes or timestamps.'),
114
+ ('link', 'Create link', 'Add a hard link or symbolic link.'),
115
+ ('mapping', 'Memory mapping', 'Establish or manage potentially file-backed memory mappings.'),
116
+ ('descriptor_bookkeeping', 'Descriptor / path bookkeeping', 'Track descriptor state, path context or synchronization.'),
117
+ ('mount', 'Mount', 'Mount, unmount or re-root filesystems.'),
118
+ ('file_watch', 'Watch files', 'Ask to be told of changes to files.'),
119
+ ('create_special', 'Create special file', 'Add a device, FIFO or socket node.'),
120
+ ('async_io', 'Asynchronous I/O', 'Queue file or socket operations that complete later, outside the ordinary read and write calls.'),
121
+ ('network_connect', 'Connect', 'Open a connection to a remote address.'),
122
+ ('network_listen', 'Listen / accept', 'Bind a local address and take incoming connections.'),
123
+ ('network_transfer', 'Send / receive', 'Send or receive data on a socket.'),
124
+ ('network_socket', 'Socket setup', 'Create, configure, inspect or shut down a socket.'),
125
+ ('process_spawn', 'Start process', 'Create a process or thread.'),
126
+ ('process_exec', 'Run program', 'Replace the running program with another.'),
127
+ ('process_exit', 'Exit', 'End a thread or process.'),
128
+ ('process_control', 'Process control', 'Wait for, trace, limit, schedule or isolate a process.'),
129
+ ('process_info', 'Process information', 'Read process identifiers, limits, usage or scheduling.'),
130
+ ('signal', 'Signal', 'Send, wait for or configure signals.'),
131
+ ('identity_change', 'Change identity', 'Change user or group identity or capabilities.'),
132
+ ('identity_info', 'Identity information', 'Read user or group identity or capabilities.'),
133
+ ('memory', 'Memory', 'Manage the address space apart from file mappings.'),
134
+ ('ipc', 'IPC', 'Communicate or synchronize between processes.'),
135
+ ('time', 'Time', 'Read or set clocks, sleep, or use timers.'),
136
+ ('event_wait', 'Wait for events', 'Wait for descriptors to become ready.'),
137
+ ('system', 'System', 'System information and administration.')
138
+ ON CONFLICT(category_id) DO UPDATE SET label=excluded.label, description=excluded.description;
139
+
140
+ -- Files: the 84 rows of catalog version 1, as they were.
141
+ INSERT INTO syscall_catalog
142
+ (syscall_name, description, group_id, category_id, default_impact_level,
143
+ classification_rule, required_evidence, interpretation_notes,
144
+ capture, capture_fields, effect_rule, catalog_version)
145
+ SELECT column1, column2, 'files', column3, column4, column5, column6, column7, 'no', '[]', NULL, 2 FROM (VALUES
146
+ ('open', 'Opens a pathname and may create or truncate a file.', 'open', NULL, 'open_effect', 'path, dirfd/base path, flags (including open_how), mode, return value, errno, creation evidence', 'Conditional: read-only opens are level 0; writable access alone is not modification. O_CREAT alone does not prove creation. Confirmed new file is level 1; truncation of an existing file is level 2. Otherwise keep impact unresolved.'),
147
+ ('openat', 'Opens a pathname relative to a directory descriptor and may create or truncate a file.', 'open', NULL, 'open_effect', 'path, dirfd/base path, flags (including open_how), mode, return value, errno, creation evidence', 'Conditional: read-only opens are level 0; writable access alone is not modification. O_CREAT alone does not prove creation. Confirmed new file is level 1; truncation of an existing file is level 2. Otherwise keep impact unresolved.'),
148
+ ('openat2', 'Opens a pathname using structured access flags and path-resolution constraints.', 'open', NULL, 'open_effect', 'path, dirfd/base path, flags (including open_how), mode, return value, errno, creation evidence', 'Conditional: read-only opens are level 0; writable access alone is not modification. O_CREAT alone does not prove creation. Confirmed new file is level 1; truncation of an existing file is level 2. Otherwise keep impact unresolved.'),
149
+ ('creat', 'Opens a file for writing with creation and truncation semantics.', 'open', NULL, 'open_effect', 'path, dirfd/base path, flags (including open_how), mode, return value, errno, creation evidence', 'Conditional: read-only opens are level 0; writable access alone is not modification. O_CREAT alone does not prove creation. Confirmed new file is level 1; truncation of an existing file is level 2. Otherwise keep impact unresolved.'),
150
+ ('write', 'Writes bytes to a descriptor at its current offset.', 'write', 2, 'file_write', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 2 applies to file targets, not pipes, sockets or devices. Positive returned bytes establish bytes written, not that contents differ; zero bytes do not establish a modification. Do not capture buffer contents.'),
151
+ ('writev', 'Writes bytes from multiple buffers to a descriptor.', 'write', 2, 'file_write', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 2 applies to file targets, not pipes, sockets or devices. Positive returned bytes establish bytes written, not that contents differ; zero bytes do not establish a modification. Do not capture buffer contents.'),
152
+ ('pwrite64', 'Writes bytes to a descriptor using an explicit offset.', 'write', 2, 'file_write', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 2 applies to file targets, not pipes, sockets or devices. Positive returned bytes establish bytes written, not that contents differ; zero bytes do not establish a modification. Do not capture buffer contents.'),
153
+ ('pwritev', 'Writes bytes from multiple buffers using an explicit offset.', 'write', 2, 'file_write', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 2 applies to file targets, not pipes, sockets or devices. Positive returned bytes establish bytes written, not that contents differ; zero bytes do not establish a modification. Do not capture buffer contents.'),
154
+ ('pwritev2', 'Writes bytes from multiple buffers with offset and per-operation flags.', 'write', 2, 'file_write', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 2 applies to file targets, not pipes, sockets or devices. Positive returned bytes establish bytes written, not that contents differ; zero bytes do not establish a modification. Do not capture buffer contents.'),
155
+ ('unlink', 'Removes a non-directory filesystem entry.', 'delete', 3, 'remove_entry', 'path, dirfd/base path where applicable, flags, return value, errno', 'Level 3 describes the requested operation. Only success confirms removal of an entry; open descriptors or other hard links may retain the data.'),
156
+ ('unlinkat', 'Removes a filesystem entry relative to a directory descriptor, including directories with AT_REMOVEDIR.', 'delete', 3, 'remove_entry', 'path, dirfd/base path where applicable, flags, return value, errno', 'Level 3 describes the requested operation. Only success confirms removal of an entry; open descriptors or other hard links may retain the data.'),
157
+ ('rmdir', 'Removes an empty directory.', 'delete', 3, 'remove_entry', 'path, dirfd/base path where applicable, flags, return value, errno', 'Level 3 describes the requested operation. Only success confirms removal of an entry; open descriptors or other hard links may retain the data.'),
158
+ ('rename', 'Moves a filesystem entry and may replace an existing destination.', 'rename', NULL, 'rename_effect', 'source and destination paths/base descriptors, flags, return value, errno, destination replacement evidence', 'Confirmed move without replacement is level 2; confirmed destination replacement is level 3. Unknown replacement stays unresolved. RENAME_EXCHANGE exchanges entries (level 2); RENAME_WHITEOUT needs explicit interpretation. Successful same-object rename may be a no-op.'),
159
+ ('renameat', 'Moves a filesystem entry using directory-relative source and destination paths.', 'rename', NULL, 'rename_effect', 'source and destination paths/base descriptors, flags, return value, errno, destination replacement evidence', 'Confirmed move without replacement is level 2; confirmed destination replacement is level 3. Unknown replacement stays unresolved. RENAME_EXCHANGE exchanges entries (level 2); RENAME_WHITEOUT needs explicit interpretation. Successful same-object rename may be a no-op.'),
160
+ ('renameat2', 'Moves or exchanges filesystem entries with flag-controlled replacement behavior.', 'rename', NULL, 'rename_effect', 'source and destination paths/base descriptors, flags, return value, errno, destination replacement evidence', 'Confirmed move without replacement is level 2; confirmed destination replacement is level 3. Unknown replacement stays unresolved. RENAME_EXCHANGE exchanges entries (level 2); RENAME_WHITEOUT needs explicit interpretation. Successful same-object rename may be a no-op.'),
161
+ ('truncate', 'Sets the length of a file identified by pathname.', 'resize', 2, 'file_resize', 'path or fd target identity/type, requested length, return value, errno, prior length when known', 'Success confirms the length-setting operation, not necessarily a length change; compare prior size only when reliable.'),
162
+ ('ftruncate', 'Sets the length of a file identified by descriptor.', 'resize', 2, 'file_resize', 'path or fd target identity/type, requested length, return value, errno, prior length when known', 'Success confirms the length-setting operation, not necessarily a length change; compare prior size only when reliable.'),
163
+ ('mkdir', 'Creates a directory with the requested permissions subject to the process umask.', 'create_directory', 1, 'directory_create', 'path, dirfd/base path where applicable, mode, return value, errno', 'Only success confirms directory creation. Record requested mode, not an assumed effective mode.'),
164
+ ('mkdirat', 'Creates a directory relative to a directory descriptor.', 'create_directory', 1, 'directory_create', 'path, dirfd/base path where applicable, mode, return value, errno', 'Only success confirms directory creation. Record requested mode, not an assumed effective mode.'),
165
+ ('read', 'Reads bytes from a descriptor.', 'read', 0, 'file_read', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 0 describes observation, not safety; secret reads can be sensitive and reads can update atime. Zero returned bytes do not prove content was read. Exclude non-file targets from filesystem classification.'),
166
+ ('readv', 'Reads bytes from a descriptor into multiple buffers.', 'read', 0, 'file_read', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 0 describes observation, not safety; secret reads can be sensitive and reads can update atime. Zero returned bytes do not prove content was read. Exclude non-file targets from filesystem classification.'),
167
+ ('pread64', 'Reads bytes from a descriptor using an explicit offset.', 'read', 0, 'file_read', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 0 describes observation, not safety; secret reads can be sensitive and reads can update atime. Zero returned bytes do not prove content was read. Exclude non-file targets from filesystem classification.'),
168
+ ('preadv', 'Reads bytes into multiple buffers using an explicit offset.', 'read', 0, 'file_read', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 0 describes observation, not safety; secret reads can be sensitive and reads can update atime. Zero returned bytes do not prove content was read. Exclude non-file targets from filesystem classification.'),
169
+ ('preadv2', 'Reads bytes into multiple buffers with offset and per-operation flags.', 'read', 0, 'file_read', 'fd, target identity/type, requested bytes, returned bytes, errno, explicit offset and flags when applicable', 'Level 0 describes observation, not safety; secret reads can be sensitive and reads can update atime. Zero returned bytes do not prove content was read. Exclude non-file targets from filesystem classification.'),
170
+ ('stat', 'Retrieves file metadata by pathname while following symbolic links.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
171
+ ('lstat', 'Retrieves metadata for a pathname without following its final symbolic link.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
172
+ ('fstat', 'Retrieves metadata for a descriptor.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
173
+ ('newfstatat', 'Retrieves directory-relative file metadata with flag-controlled link handling.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
174
+ ('statx', 'Retrieves extended file metadata with a requested field mask.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
175
+ ('access', 'Checks accessibility of a pathname using the calling process credentials defined by access semantics.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
176
+ ('faccessat', 'Checks accessibility of a directory-relative pathname.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
177
+ ('faccessat2', 'Checks accessibility of a directory-relative pathname with explicit flags.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
178
+ ('readlink', 'Reads the stored target text of a symbolic link.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
179
+ ('readlinkat', 'Reads symbolic-link target text relative to a directory descriptor.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
180
+ ('getdents', 'Reads directory entries from a descriptor.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
181
+ ('getdents64', 'Reads directory entries using the 64-bit directory-entry format.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
182
+ ('getxattr', 'Reads an extended attribute associated with a pathname.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
183
+ ('lgetxattr', 'Reads an extended attribute without following the final symbolic link.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
184
+ ('fgetxattr', 'Reads an extended attribute from a descriptor.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
185
+ ('listxattr', 'Lists extended-attribute names associated with a pathname.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
186
+ ('llistxattr', 'Lists extended-attribute names without following the final symbolic link.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
187
+ ('flistxattr', 'Lists extended-attribute names associated with a descriptor.', 'inspect', 0, 'inspect', 'path or fd identity, flags where applicable, return value, errno', 'Level 0 describes inspection, not harmlessness. Access checks do not establish a later read; metadata lookup does not prove file contents were accessed.'),
188
+ ('chmod', 'Changes permission bits for a pathname.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
189
+ ('fchmod', 'Changes permission bits for a descriptor.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
190
+ ('fchmodat', 'Changes permission bits for a directory-relative pathname.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
191
+ ('fchmodat2', 'Changes permission bits for a directory-relative pathname with explicit flags.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
192
+ ('chown', 'Changes ownership of a pathname while following symbolic links.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
193
+ ('lchown', 'Changes ownership without following the final symbolic link.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
194
+ ('fchown', 'Changes ownership of an object referenced by a descriptor.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
195
+ ('fchownat', 'Changes ownership of a directory-relative pathname with explicit flags.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
196
+ ('setxattr', 'Sets an extended attribute associated with a pathname.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
197
+ ('lsetxattr', 'Sets an extended attribute without following the final symbolic link.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
198
+ ('fsetxattr', 'Sets an extended attribute associated with a descriptor.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
199
+ ('removexattr', 'Removes an extended attribute associated with a pathname.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
200
+ ('lremovexattr', 'Removes an extended attribute without following the final symbolic link.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
201
+ ('fremovexattr', 'Removes an extended attribute associated with a descriptor.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
202
+ ('utime', 'Updates file access and modification timestamps with second precision.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
203
+ ('utimes', 'Updates file access and modification timestamps with microsecond precision.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
204
+ ('futimesat', 'Updates timestamps for a directory-relative pathname.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
205
+ ('utimensat', 'Updates file timestamps with nanosecond precision and explicit flags.', 'metadata_change', 2, 'metadata_change', 'path or fd identity, requested metadata/attribute name, flags, return value, errno', 'Level 2 describes a metadata operation. Success alone does not establish that values changed. Record attribute names but not potentially sensitive attribute values.'),
206
+ ('link', 'Creates an additional hard link to an existing file.', 'link', 1, 'link_create', 'source/target text and new path, directory bases, flags, return value, errno', 'Level 1 describes adding an entry, not duplicating file contents or guaranteeing a harmless target.'),
207
+ ('linkat', 'Creates a hard link using directory-relative paths and flags.', 'link', 1, 'link_create', 'source/target text and new path, directory bases, flags, return value, errno', 'Level 1 describes adding an entry, not duplicating file contents or guaranteeing a harmless target.'),
208
+ ('symlink', 'Creates a symbolic link containing the supplied target text.', 'link', 1, 'link_create', 'source/target text and new path, directory bases, flags, return value, errno', 'Level 1 describes adding an entry, not duplicating file contents or guaranteeing a harmless target.'),
209
+ ('symlinkat', 'Creates a symbolic link relative to a directory descriptor.', 'link', 1, 'link_create', 'source/target text and new path, directory bases, flags, return value, errno', 'Level 1 describes adding an entry, not duplicating file contents or guaranteeing a harmless target.'),
210
+ ('copy_file_range', 'Copies a range of data between file descriptors without a userspace buffer.', 'copy', NULL, 'copy_effect', 'source/destination fd identities and types, offsets, requested and returned bytes, flags, errno, destination creation evidence', 'Require a file destination before assigning filesystem impact. Positive transferred bytes to an existing file are level 2; confirmed creation is a separate level 1 event. Pipe/socket destinations are not file edits. Do not infer secret exfiltration.'),
211
+ ('sendfile', 'Transfers data from an input file descriptor to an output descriptor.', 'copy', NULL, 'copy_effect', 'source/destination fd identities and types, offsets, requested and returned bytes, flags, errno, destination creation evidence', 'Require a file destination before assigning filesystem impact. Positive transferred bytes to an existing file are level 2; confirmed creation is a separate level 1 event. Pipe/socket destinations are not file edits. Do not infer secret exfiltration.'),
212
+ ('splice', 'Transfers data between descriptors with at least one pipe endpoint.', 'copy', NULL, 'copy_effect', 'source/destination fd identities and types, offsets, requested and returned bytes, flags, errno, destination creation evidence', 'Require a file destination before assigning filesystem impact. Positive transferred bytes to an existing file are level 2; confirmed creation is a separate level 1 event. Pipe/socket destinations are not file edits. Do not infer secret exfiltration.'),
213
+ ('fallocate', 'Allocates or changes file ranges according to mode flags.', 'resize', NULL, 'allocation_effect', 'fd target identity/type, mode flags, offset, length, return value, errno', 'Decoded successful allocation/range changes on files are level 2; punch-hole, zero-range, collapse-range and insert-range may alter data. Allocation alone does not prove changed contents.'),
214
+ ('ioctl', 'Performs a command-specific operation on a descriptor, which may affect file data or metadata.', 'metadata_change', NULL, 'ioctl_effect', 'fd target identity/type, decoded ioctl command and relevant arguments, return value, errno', 'No generic impact. Decode supported commands: file clone/range clone to an existing destination is level 2, file attribute changes are level 2, inspection is level 0. Unknown commands remain unclassified.'),
215
+ ('mmap', 'Maps a file or anonymous memory into the process address space.', 'mapping', NULL, 'mapping_effect', 'file identity and fd where available, address/range, protections, mapping flags, tracked mapping identity, return value, errno', 'A readable file mapping indicates possible access, not confirmed reads; a shared writable mapping indicates possible modification, not actual writes. Mapping/protection/sync/unmap calls alone do not confirm changed bytes; leave impact unresolved without additional evidence.'),
216
+ ('mprotect', 'Changes access protections for a mapped memory range.', 'mapping', NULL, 'mapping_effect', 'file identity and fd where available, address/range, protections, mapping flags, tracked mapping identity, return value, errno', 'A readable file mapping indicates possible access, not confirmed reads; a shared writable mapping indicates possible modification, not actual writes. Mapping/protection/sync/unmap calls alone do not confirm changed bytes; leave impact unresolved without additional evidence.'),
217
+ ('msync', 'Requests synchronization of a mapped file range with its backing storage.', 'mapping', NULL, 'mapping_effect', 'file identity and fd where available, address/range, protections, mapping flags, tracked mapping identity, return value, errno', 'A readable file mapping indicates possible access, not confirmed reads; a shared writable mapping indicates possible modification, not actual writes. Mapping/protection/sync/unmap calls alone do not confirm changed bytes; leave impact unresolved without additional evidence.'),
218
+ ('munmap', 'Removes mappings from a process address range.', 'mapping', NULL, 'mapping_effect', 'file identity and fd where available, address/range, protections, mapping flags, tracked mapping identity, return value, errno', 'A readable file mapping indicates possible access, not confirmed reads; a shared writable mapping indicates possible modification, not actual writes. Mapping/protection/sync/unmap calls alone do not confirm changed bytes; leave impact unresolved without additional evidence.'),
219
+ ('close', 'Closes a file descriptor.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
220
+ ('close_range', 'Closes a range of descriptors or marks them close-on-exec according to flags.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
221
+ ('dup', 'Duplicates a descriptor into the lowest available descriptor number.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
222
+ ('dup2', 'Duplicates a descriptor into a specified descriptor number.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
223
+ ('dup3', 'Duplicates a descriptor into a specified number with explicit flags.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
224
+ ('fcntl', 'Performs descriptor control operations such as duplication or flag changes.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
225
+ ('lseek', 'Changes the file offset associated with a descriptor.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
226
+ ('chdir', 'Changes the working directory used to interpret relative paths.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
227
+ ('fchdir', 'Changes the working directory using a directory descriptor.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
228
+ ('fsync', 'Requests synchronization of file data and metadata to storage.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.'),
229
+ ('fdatasync', 'Requests synchronization of file data and necessary metadata to storage.', 'descriptor_bookkeeping', NULL, 'bookkeeping', 'process identity, relevant descriptors/paths, command or flags, return value, errno', 'No direct filesystem impact level. Retain as context; closing or syncing can flush earlier writes but is not a new confirmed content edit. fcntl requires command decoding and is not automatically a file mutation.')
230
+ ) WHERE true
231
+ ON CONFLICT(syscall_name) DO UPDATE SET
232
+ description=excluded.description,
233
+ group_id=excluded.group_id,
234
+ category_id=excluded.category_id,
235
+ default_impact_level=excluded.default_impact_level,
236
+ classification_rule=excluded.classification_rule,
237
+ required_evidence=excluded.required_evidence,
238
+ interpretation_notes=excluded.interpretation_notes,
239
+ capture=excluded.capture,
240
+ capture_fields=excluded.capture_fields,
241
+ effect_rule=excluded.effect_rule,
242
+ catalog_version=excluded.catalog_version;
243
+
244
+ -- Network, identity and process calls RayTrace reads, with their rules.
245
+ INSERT INTO syscall_catalog
246
+ (syscall_name, description, group_id, category_id, default_impact_level,
247
+ classification_rule, required_evidence, interpretation_notes,
248
+ capture, capture_fields, effect_rule, catalog_version)
249
+ VALUES
250
+ ('connect', 'Connects a socket to a remote address.', 'network', 'network_connect', NULL, 'connect_effect', 'socket descriptor, decoded address (family, IP address, port), return value, errno', 'Success on a stream socket establishes a connection; on a datagram socket it only sets the default peer. EINPROGRESS on a non-blocking socket is an attempt whose outcome this call does not report. The address is an IP address, never a host name: names come from DNS evidence and are a best match. A destination the sandbox firewall rejects is a refused attempt. No payload is captured.', 'yes', '[]', 'connect', 2),
251
+ ('listen', 'Marks a socket as accepting incoming connections.', 'network', 'network_listen', NULL, 'listen_effect', 'socket descriptor, bound address, backlog, return value, errno', 'Success means the process started accepting connections on the bound address. Nothing outside the sandbox network is routed to it, so this is context, not exposure.', 'yes', '[]', 'listen', 2),
252
+ ('setuid', 'Sets the user ID of the calling process.', 'identity', 'identity_change', NULL, 'identity_effect', 'requested IDs, return value, errno', 'Success changes the identity the process acts as. The sandbox runs as one unprivileged user with no capabilities and no-new-privileges, so a successful change away from that user is unexpected; a failure is an attempt.', 'yes', '[]', 'identity', 2),
253
+ ('setgid', 'Sets the group ID of the calling process.', 'identity', 'identity_change', NULL, 'identity_effect', 'requested IDs, return value, errno', 'Success changes the identity the process acts as. The sandbox runs as one unprivileged user with no capabilities and no-new-privileges, so a successful change away from that user is unexpected; a failure is an attempt.', 'yes', '[]', 'identity', 2),
254
+ ('setresuid', 'Sets the real, effective and saved user IDs.', 'identity', 'identity_change', NULL, 'identity_effect', 'requested IDs, return value, errno', 'Success changes the identity the process acts as. The sandbox runs as one unprivileged user with no capabilities and no-new-privileges, so a successful change away from that user is unexpected; a failure is an attempt.', 'yes', '[]', 'identity', 2),
255
+ ('setresgid', 'Sets the real, effective and saved group IDs.', 'identity', 'identity_change', NULL, 'identity_effect', 'requested IDs, return value, errno', 'Success changes the identity the process acts as. The sandbox runs as one unprivileged user with no capabilities and no-new-privileges, so a successful change away from that user is unexpected; a failure is an attempt.', 'yes', '[]', 'identity', 2),
256
+ ('clone', 'Creates a process or thread.', 'process', 'process_spawn', NULL, 'process_lifecycle', 'gVisor process points: new task identity, parent, start time', 'Seen through gVisor''s clone point, which reports every new task whichever syscall created it. A new task is not a new program: that is an exec.', 'sentry', '[]', 'process', 2),
257
+ ('clone3', 'Creates a process or thread, with an extensible argument.', 'process', 'process_spawn', NULL, 'process_lifecycle', 'gVisor process points: new task identity, parent, start time', 'Seen through gVisor''s clone point, which reports every new task whichever syscall created it. A new task is not a new program: that is an exec.', 'sentry', '[]', 'process', 2),
258
+ ('fork', 'Creates a child process.', 'process', 'process_spawn', NULL, 'process_lifecycle', 'gVisor process points: new task identity, parent, start time', 'Seen through gVisor''s clone point, which reports every new task whichever syscall created it. A new task is not a new program: that is an exec.', 'sentry', '[]', 'process', 2),
259
+ ('vfork', 'Creates a child process and suspends the parent until it execs or exits.', 'process', 'process_spawn', NULL, 'process_lifecycle', 'gVisor process points: new task identity, parent, start time', 'Seen through gVisor''s clone point, which reports every new task whichever syscall created it. A new task is not a new program: that is an exec.', 'sentry', '[]', 'process', 2),
260
+ ('execve', 'Replaces the running program with another.', 'process', 'process_exec', NULL, 'process_lifecycle', 'executable path, arguments, the two RAYTRACE_ markers from the environment, return value, errno', 'gVisor''s exec point confirms a program started; the syscall point also reports attempts that failed. A zero result on the syscall point is not treated as success. Arguments can hold secrets. Of the environment only the two RAYTRACE_ markers are kept.', 'sentry', '["envv"]', 'process', 2),
261
+ ('execveat', 'Replaces the running program with one named relative to a directory descriptor.', 'process', 'process_exec', NULL, 'process_lifecycle', 'executable path, arguments, the two RAYTRACE_ markers from the environment, return value, errno', 'gVisor''s exec point confirms a program started; the syscall point also reports attempts that failed. A zero result on the syscall point is not treated as success. Arguments can hold secrets. Of the environment only the two RAYTRACE_ markers are kept.', 'sentry', '["envv"]', 'process', 2),
262
+ ('exit', 'Ends the calling thread.', 'process', 'process_exit', NULL, 'process_lifecycle', 'gVisor process points: exit status or signal', 'Seen through gVisor''s exit points. An exit code of 0 means the program did not report a failure, not that it did what its name suggests.', 'sentry', '[]', 'process', 2),
263
+ ('exit_group', 'Ends every thread of the calling process.', 'process', 'process_exit', NULL, 'process_lifecycle', 'gVisor process points: exit status or signal', 'Seen through gVisor''s exit points. An exit code of 0 means the program did not report a failure, not that it did what its name suggests.', 'sentry', '[]', 'process', 2)
264
+ ON CONFLICT(syscall_name) DO UPDATE SET
265
+ description=excluded.description,
266
+ group_id=excluded.group_id,
267
+ category_id=excluded.category_id,
268
+ default_impact_level=excluded.default_impact_level,
269
+ classification_rule=excluded.classification_rule,
270
+ required_evidence=excluded.required_evidence,
271
+ interpretation_notes=excluded.interpretation_notes,
272
+ capture=excluded.capture,
273
+ capture_fields=excluded.capture_fields,
274
+ effect_rule=excluded.effect_rule,
275
+ catalog_version=excluded.catalog_version;
276
+
277
+ -- Everything else gVisor knows: listed so every call has a group, not captured.
278
+ INSERT INTO syscall_catalog
279
+ (syscall_name, description, group_id, category_id, default_impact_level,
280
+ classification_rule, required_evidence, interpretation_notes,
281
+ capture, capture_fields, effect_rule, catalog_version)
282
+ SELECT column1, column2, column3, column4, NULL, 'not_classified', 'None: this call is not captured.',
283
+ COALESCE(column5, 'Listed so that every call has a group. RayTrace does not subscribe to it, so no fact records or rules out its use.'),
284
+ 'no', '[]', NULL, 2 FROM (VALUES
285
+ ('socket', 'Creates a communication endpoint and returns its descriptor.', 'network', 'network_socket', NULL),
286
+ ('socketpair', 'Creates a pair of connected sockets.', 'network', 'network_socket', NULL),
287
+ ('bind', 'Assigns a local address to a socket.', 'network', 'network_listen', NULL),
288
+ ('accept', 'Accepts an incoming connection on a listening socket.', 'network', 'network_listen', NULL),
289
+ ('accept4', 'Accepts an incoming connection, with descriptor flags.', 'network', 'network_listen', NULL),
290
+ ('getsockname', 'Returns the local address a socket is bound to.', 'network', 'network_socket', NULL),
291
+ ('getpeername', 'Returns the address of the peer a socket is connected to.', 'network', 'network_socket', NULL),
292
+ ('getsockopt', 'Reads a socket option.', 'network', 'network_socket', NULL),
293
+ ('setsockopt', 'Sets a socket option.', 'network', 'network_socket', NULL),
294
+ ('shutdown', 'Shuts down part or all of a socket connection.', 'network', 'network_socket', NULL),
295
+ ('sendto', 'Sends a message on a socket, optionally to a given address.', 'network', 'network_transfer', 'Not captured. A datagram sent without connect names its destination here, so that traffic is in no network fact; the sandbox firewall still applies to it, and DNS lookups are seen by the host resolver.'),
296
+ ('sendmsg', 'Sends a message on a socket, with ancillary data.', 'network', 'network_transfer', 'Not captured. A datagram sent without connect names its destination here, so that traffic is in no network fact; the sandbox firewall still applies to it, and DNS lookups are seen by the host resolver.'),
297
+ ('sendmmsg', 'Sends several messages on a socket in one call.', 'network', 'network_transfer', 'Not captured. A datagram sent without connect names its destination here, so that traffic is in no network fact; the sandbox firewall still applies to it, and DNS lookups are seen by the host resolver.'),
298
+ ('recvfrom', 'Receives a message from a socket and may return its source address.', 'network', 'network_transfer', NULL),
299
+ ('recvmsg', 'Receives a message from a socket, with ancillary data.', 'network', 'network_transfer', NULL),
300
+ ('recvmmsg', 'Receives several messages from a socket in one call.', 'network', 'network_transfer', NULL),
301
+ ('wait4', 'Waits for a child process to change state and returns its resource usage.', 'process', 'process_control', NULL),
302
+ ('waitid', 'Waits for a child process to change state.', 'process', 'process_control', NULL),
303
+ ('kill', 'Sends a signal to a process or process group.', 'process', 'signal', NULL),
304
+ ('tkill', 'Sends a signal to a thread.', 'process', 'signal', NULL),
305
+ ('tgkill', 'Sends a signal to a thread in a given thread group.', 'process', 'signal', NULL),
306
+ ('rt_sigaction', 'Examines or changes the action taken on a signal.', 'process', 'signal', NULL),
307
+ ('rt_sigprocmask', 'Examines or changes the set of blocked signals.', 'process', 'signal', NULL),
308
+ ('rt_sigpending', 'Returns the signals pending for the caller.', 'process', 'signal', NULL),
309
+ ('rt_sigqueueinfo', 'Queues a signal with data to a process.', 'process', 'signal', NULL),
310
+ ('rt_tgsigqueueinfo', 'Queues a signal with data to a thread.', 'process', 'signal', NULL),
311
+ ('rt_sigreturn', 'Returns from a signal handler and restores the interrupted context.', 'process', 'signal', NULL),
312
+ ('rt_sigsuspend', 'Waits for a signal with a temporary signal mask.', 'process', 'signal', NULL),
313
+ ('rt_sigtimedwait', 'Waits for queued signals, with a timeout.', 'process', 'signal', NULL),
314
+ ('sigaltstack', 'Sets or reads the alternate signal stack.', 'process', 'signal', NULL),
315
+ ('signalfd', 'Creates a descriptor that receives signals.', 'process', 'signal', NULL),
316
+ ('signalfd4', 'Creates a descriptor that receives signals, with flags.', 'process', 'signal', NULL),
317
+ ('pause', 'Waits until a signal arrives.', 'process', 'signal', NULL),
318
+ ('pidfd_send_signal', 'Sends a signal to a process named by a process descriptor.', 'process', 'signal', NULL),
319
+ ('ptrace', 'Observes and controls another process.', 'process', 'process_control', 'Not captured. It can read and change another process in the same sandbox, so what that process then does is not only its own doing.'),
320
+ ('process_vm_readv', 'Reads the memory of another process.', 'process', 'process_control', 'Not captured. It can read and change another process in the same sandbox, so what that process then does is not only its own doing.'),
321
+ ('process_vm_writev', 'Writes the memory of another process.', 'process', 'process_control', 'Not captured. It can read and change another process in the same sandbox, so what that process then does is not only its own doing.'),
322
+ ('prctl', 'Performs process-specific control operations.', 'process', 'process_control', NULL),
323
+ ('arch_prctl', 'Sets architecture-specific thread state.', 'process', 'process_control', NULL),
324
+ ('personality', 'Sets the process execution domain.', 'process', 'process_control', NULL),
325
+ ('seccomp', 'Changes the syscall filter of the calling process.', 'process', 'process_control', NULL),
326
+ ('unshare', 'Moves the caller into new namespaces.', 'process', 'process_control', NULL),
327
+ ('setns', 'Joins an existing namespace.', 'process', 'process_control', NULL),
328
+ ('setpgid', 'Sets the process group of a process.', 'process', 'process_control', NULL),
329
+ ('setsid', 'Creates a new session.', 'process', 'process_control', NULL),
330
+ ('setpriority', 'Sets scheduling priority.', 'process', 'process_control', NULL),
331
+ ('setrlimit', 'Sets a resource limit.', 'process', 'process_control', NULL),
332
+ ('prlimit64', 'Reads or sets a resource limit of a process.', 'process', 'process_control', NULL),
333
+ ('sched_setaffinity', 'Sets the CPUs a thread may run on.', 'process', 'process_control', NULL),
334
+ ('sched_setattr', 'Sets scheduling policy and attributes.', 'process', 'process_control', NULL),
335
+ ('sched_setparam', 'Sets scheduling parameters.', 'process', 'process_control', NULL),
336
+ ('sched_setscheduler', 'Sets scheduling policy and parameters.', 'process', 'process_control', NULL),
337
+ ('sched_yield', 'Yields the processor.', 'process', 'process_control', NULL),
338
+ ('set_tid_address', 'Sets the address cleared when the thread exits.', 'process', 'process_control', NULL),
339
+ ('set_thread_area', 'Sets a thread-local storage area.', 'process', 'process_control', NULL),
340
+ ('set_robust_list', 'Sets the list of robust futexes of the thread.', 'process', 'process_control', NULL),
341
+ ('pidfd_open', 'Obtains a descriptor that refers to a process.', 'process', 'process_control', NULL),
342
+ ('pidfd_getfd', 'Duplicates a descriptor from another process.', 'process', 'process_control', NULL),
343
+ ('ioprio_set', 'Sets I/O scheduling class and priority.', 'process', 'process_control', NULL),
344
+ ('umask', 'Sets the file mode creation mask.', 'process', 'process_control', NULL),
345
+ ('restart_syscall', 'Restarts a syscall that a stop signal interrupted.', 'process', 'process_control', NULL),
346
+ ('rseq', 'Registers a restartable sequence area for the thread.', 'process', 'process_control', NULL),
347
+ ('modify_ldt', 'Reads or writes the local descriptor table.', 'process', 'process_control', NULL),
348
+ ('getpid', 'Returns the process ID of the caller.', 'process', 'process_info', NULL),
349
+ ('getppid', 'Returns the process ID of the parent.', 'process', 'process_info', NULL),
350
+ ('gettid', 'Returns the thread ID of the caller.', 'process', 'process_info', NULL),
351
+ ('getpgid', 'Returns the process group of a process.', 'process', 'process_info', NULL),
352
+ ('getpgrp', 'Returns the process group of the caller.', 'process', 'process_info', NULL),
353
+ ('getsid', 'Returns the session of a process.', 'process', 'process_info', NULL),
354
+ ('getpriority', 'Returns scheduling priority.', 'process', 'process_info', NULL),
355
+ ('getrlimit', 'Returns a resource limit.', 'process', 'process_info', NULL),
356
+ ('getrusage', 'Returns resource usage.', 'process', 'process_info', NULL),
357
+ ('getcpu', 'Returns the CPU and NUMA node the caller runs on.', 'process', 'process_info', NULL),
358
+ ('times', 'Returns process times.', 'process', 'process_info', NULL),
359
+ ('sched_getaffinity', 'Returns the CPUs a thread may run on.', 'process', 'process_info', NULL),
360
+ ('sched_getattr', 'Returns scheduling policy and attributes.', 'process', 'process_info', NULL),
361
+ ('sched_getparam', 'Returns scheduling parameters.', 'process', 'process_info', NULL),
362
+ ('sched_getscheduler', 'Returns scheduling policy.', 'process', 'process_info', NULL),
363
+ ('sched_get_priority_max', 'Returns the highest priority of a scheduling policy.', 'process', 'process_info', NULL),
364
+ ('sched_get_priority_min', 'Returns the lowest priority of a scheduling policy.', 'process', 'process_info', NULL),
365
+ ('sched_rr_get_interval', 'Returns the round-robin time slice of a process.', 'process', 'process_info', NULL),
366
+ ('ioprio_get', 'Returns I/O scheduling class and priority.', 'process', 'process_info', NULL),
367
+ ('get_thread_area', 'Returns a thread-local storage area.', 'process', 'process_info', NULL),
368
+ ('get_robust_list', 'Returns the list of robust futexes of a thread.', 'process', 'process_info', NULL),
369
+ ('kcmp', 'Compares kernel resources of two processes.', 'process', 'process_info', NULL),
370
+ ('setreuid', 'Sets the real and effective user IDs.', 'identity', 'identity_change', NULL),
371
+ ('setregid', 'Sets the real and effective group IDs.', 'identity', 'identity_change', NULL),
372
+ ('setfsuid', 'Sets the user ID used for filesystem checks.', 'identity', 'identity_change', NULL),
373
+ ('setfsgid', 'Sets the group ID used for filesystem checks.', 'identity', 'identity_change', NULL),
374
+ ('setgroups', 'Sets the supplementary group list.', 'identity', 'identity_change', NULL),
375
+ ('capset', 'Sets the capabilities of a thread.', 'identity', 'identity_change', NULL),
376
+ ('getuid', 'Returns the real user ID.', 'identity', 'identity_info', NULL),
377
+ ('geteuid', 'Returns the effective user ID.', 'identity', 'identity_info', NULL),
378
+ ('getgid', 'Returns the real group ID.', 'identity', 'identity_info', NULL),
379
+ ('getegid', 'Returns the effective group ID.', 'identity', 'identity_info', NULL),
380
+ ('getresuid', 'Returns the real, effective and saved user IDs.', 'identity', 'identity_info', NULL),
381
+ ('getresgid', 'Returns the real, effective and saved group IDs.', 'identity', 'identity_info', NULL),
382
+ ('getgroups', 'Returns the supplementary group list.', 'identity', 'identity_info', NULL),
383
+ ('capget', 'Returns the capabilities of a thread.', 'identity', 'identity_info', NULL),
384
+ ('brk', 'Changes the end of the data segment.', 'memory', 'memory', NULL),
385
+ ('madvise', 'Gives advice about the use of a memory range.', 'memory', 'memory', NULL),
386
+ ('mincore', 'Reports whether pages are resident in memory.', 'memory', 'memory', NULL),
387
+ ('mlock', 'Locks a memory range into RAM.', 'memory', 'memory', NULL),
388
+ ('mlock2', 'Locks a memory range into RAM, with flags.', 'memory', 'memory', NULL),
389
+ ('mlockall', 'Locks all memory of the caller into RAM.', 'memory', 'memory', NULL),
390
+ ('munlock', 'Unlocks a memory range.', 'memory', 'memory', NULL),
391
+ ('munlockall', 'Unlocks all memory of the caller.', 'memory', 'memory', NULL),
392
+ ('mremap', 'Resizes or moves a memory mapping.', 'memory', 'memory', NULL),
393
+ ('remap_file_pages', 'Creates a nonlinear file mapping.', 'memory', 'memory', NULL),
394
+ ('mbind', 'Sets the NUMA memory policy of a memory range.', 'memory', 'memory', NULL),
395
+ ('get_mempolicy', 'Returns the NUMA memory policy.', 'memory', 'memory', NULL),
396
+ ('set_mempolicy', 'Sets the default NUMA memory policy.', 'memory', 'memory', NULL),
397
+ ('migrate_pages', 'Moves the pages of a process to other NUMA nodes.', 'memory', 'memory', NULL),
398
+ ('move_pages', 'Moves individual pages of a process to other NUMA nodes.', 'memory', 'memory', NULL),
399
+ ('membarrier', 'Issues a memory barrier on a set of threads. Linux names it membarrier; this is gVisor''s spelling.', 'memory', 'memory', NULL),
400
+ ('pkey_alloc', 'Allocates a memory protection key.', 'memory', 'memory', NULL),
401
+ ('pkey_free', 'Frees a memory protection key.', 'memory', 'memory', NULL),
402
+ ('pkey_mprotect', 'Sets protection on a memory range, with a protection key.', 'memory', 'memory', NULL),
403
+ ('userfaultfd', 'Creates a descriptor for handling page faults in user space.', 'memory', 'memory', NULL),
404
+ ('memfd_create', 'Creates an anonymous file that lives in memory.', 'memory', 'memory', NULL),
405
+ ('pipe', 'Creates a pipe.', 'ipc', 'ipc', NULL),
406
+ ('pipe2', 'Creates a pipe, with flags.', 'ipc', 'ipc', NULL),
407
+ ('eventfd', 'Creates a descriptor for event notification.', 'ipc', 'ipc', NULL),
408
+ ('eventfd2', 'Creates a descriptor for event notification, with flags.', 'ipc', 'ipc', NULL),
409
+ ('futex', 'Waits on or wakes a fast user-space lock.', 'ipc', 'ipc', NULL),
410
+ ('tee', 'Duplicates data between two pipes.', 'ipc', 'ipc', NULL),
411
+ ('vmsplice', 'Maps user memory into a pipe.', 'ipc', 'ipc', NULL),
412
+ ('msgget', 'Returns a System V message queue.', 'ipc', 'ipc', NULL),
413
+ ('msgsnd', 'Sends a message to a System V message queue.', 'ipc', 'ipc', NULL),
414
+ ('msgrcv', 'Receives a message from a System V message queue.', 'ipc', 'ipc', NULL),
415
+ ('msgctl', 'Controls a System V message queue.', 'ipc', 'ipc', NULL),
416
+ ('semget', 'Returns a System V semaphore set.', 'ipc', 'ipc', NULL),
417
+ ('semop', 'Performs System V semaphore operations.', 'ipc', 'ipc', NULL),
418
+ ('semtimedop', 'Performs System V semaphore operations, with a timeout.', 'ipc', 'ipc', NULL),
419
+ ('semctl', 'Controls a System V semaphore set.', 'ipc', 'ipc', NULL),
420
+ ('shmget', 'Returns a System V shared memory segment.', 'ipc', 'ipc', NULL),
421
+ ('shmat', 'Attaches a System V shared memory segment.', 'ipc', 'ipc', NULL),
422
+ ('shmdt', 'Detaches a System V shared memory segment.', 'ipc', 'ipc', NULL),
423
+ ('shmctl', 'Controls a System V shared memory segment.', 'ipc', 'ipc', NULL),
424
+ ('mq_open', 'Opens a POSIX message queue.', 'ipc', 'ipc', NULL),
425
+ ('mq_unlink', 'Removes a POSIX message queue.', 'ipc', 'ipc', NULL),
426
+ ('mq_timedsend', 'Sends a message to a POSIX message queue.', 'ipc', 'ipc', NULL),
427
+ ('mq_timedreceive', 'Receives a message from a POSIX message queue.', 'ipc', 'ipc', NULL),
428
+ ('mq_notify', 'Registers for notification on a POSIX message queue.', 'ipc', 'ipc', NULL),
429
+ ('mq_getsetattr', 'Reads or sets POSIX message queue attributes.', 'ipc', 'ipc', NULL),
430
+ ('clock_gettime', 'Returns the time of a clock.', 'time', 'time', NULL),
431
+ ('clock_getres', 'Returns the resolution of a clock.', 'time', 'time', NULL),
432
+ ('clock_settime', 'Sets the time of a clock.', 'time', 'time', NULL),
433
+ ('clock_adjtime', 'Tunes a clock.', 'time', 'time', NULL),
434
+ ('clock_nanosleep', 'Sleeps against a given clock.', 'time', 'time', NULL),
435
+ ('gettimeofday', 'Returns the time of day.', 'time', 'time', NULL),
436
+ ('settimeofday', 'Sets the time of day.', 'time', 'time', NULL),
437
+ ('time', 'Returns the time in seconds.', 'time', 'time', NULL),
438
+ ('nanosleep', 'Sleeps for an interval.', 'time', 'time', NULL),
439
+ ('adjtimex', 'Tunes the kernel clock.', 'time', 'time', NULL),
440
+ ('alarm', 'Schedules an alarm signal.', 'time', 'time', NULL),
441
+ ('getitimer', 'Returns an interval timer.', 'time', 'time', NULL),
442
+ ('setitimer', 'Sets an interval timer.', 'time', 'time', NULL),
443
+ ('timer_create', 'Creates a per-process timer.', 'time', 'time', NULL),
444
+ ('timer_delete', 'Deletes a per-process timer.', 'time', 'time', NULL),
445
+ ('timer_gettime', 'Returns the time left on a per-process timer.', 'time', 'time', NULL),
446
+ ('timer_settime', 'Arms or disarms a per-process timer.', 'time', 'time', NULL),
447
+ ('timer_getoverrun', 'Returns the overrun count of a per-process timer.', 'time', 'time', NULL),
448
+ ('timerfd_create', 'Creates a timer that notifies through a descriptor.', 'time', 'time', NULL),
449
+ ('timerfd_gettime', 'Returns the time left on a descriptor timer.', 'time', 'time', NULL),
450
+ ('timerfd_settime', 'Arms or disarms a descriptor timer.', 'time', 'time', NULL),
451
+ ('chroot', 'Changes the root directory of the caller.', 'files', 'mount', NULL),
452
+ ('mount', 'Mounts a filesystem.', 'files', 'mount', NULL),
453
+ ('umount2', 'Unmounts a filesystem.', 'files', 'mount', NULL),
454
+ ('pivot_root', 'Changes the root mount.', 'files', 'mount', NULL),
455
+ ('fsopen', 'Opens a filesystem context for configuring a new mount.', 'files', 'mount', NULL),
456
+ ('fsconfig', 'Configures a filesystem context.', 'files', 'mount', NULL),
457
+ ('fsmount', 'Creates a mount from a filesystem context.', 'files', 'mount', NULL),
458
+ ('fspick', 'Selects an existing filesystem for reconfiguration.', 'files', 'mount', NULL),
459
+ ('move_mount', 'Moves or attaches a mount.', 'files', 'mount', NULL),
460
+ ('open_tree', 'Opens or clones a mount tree.', 'files', 'mount', NULL),
461
+ ('swapon', 'Starts swapping to a file or device.', 'files', 'mount', NULL),
462
+ ('swapoff', 'Stops swapping to a file or device.', 'files', 'mount', NULL),
463
+ ('quotactl', 'Manipulates disk quotas.', 'files', 'mount', NULL),
464
+ ('inotify_init', 'Creates an inotify instance.', 'files', 'file_watch', NULL),
465
+ ('inotify_init1', 'Creates an inotify instance, with flags.', 'files', 'file_watch', NULL),
466
+ ('inotify_add_watch', 'Adds a watch to an inotify instance.', 'files', 'file_watch', NULL),
467
+ ('inotify_rm_watch', 'Removes a watch from an inotify instance.', 'files', 'file_watch', NULL),
468
+ ('fanotify_init', 'Creates a fanotify group.', 'files', 'file_watch', NULL),
469
+ ('fanotify_mark', 'Adds or removes a fanotify mark.', 'files', 'file_watch', NULL),
470
+ ('mknod', 'Creates a special or ordinary file node.', 'files', 'create_special', NULL),
471
+ ('mknodat', 'Creates a file node relative to a directory descriptor.', 'files', 'create_special', NULL),
472
+ ('io_setup', 'Creates an asynchronous I/O context.', 'files', 'async_io', 'Not captured. Asynchronous I/O reads and writes files without the ordinary read and write calls; a file must still be opened first, and an open is captured.'),
473
+ ('io_destroy', 'Destroys an asynchronous I/O context.', 'files', 'async_io', NULL),
474
+ ('io_submit', 'Submits asynchronous I/O requests.', 'files', 'async_io', 'Not captured. Asynchronous I/O reads and writes files without the ordinary read and write calls; a file must still be opened first, and an open is captured.'),
475
+ ('io_getevents', 'Reads completed asynchronous I/O events.', 'files', 'async_io', NULL),
476
+ ('io_pgetevents', 'Reads completed asynchronous I/O events, with a signal mask.', 'files', 'async_io', NULL),
477
+ ('io_cancel', 'Cancels an asynchronous I/O request.', 'files', 'async_io', NULL),
478
+ ('io_uring_setup', 'Creates an io_uring instance.', 'files', 'async_io', 'Not captured. io_uring can open, read, write and connect without the ordinary calls, which would pass every capture here; syscall_numbers.support says how much of it gVisor implements.'),
479
+ ('io_uring_enter', 'Submits and waits for io_uring operations.', 'files', 'async_io', 'Not captured. io_uring can open, read, write and connect without the ordinary calls, which would pass every capture here; syscall_numbers.support says how much of it gVisor implements.'),
480
+ ('io_uring_register', 'Registers resources with an io_uring instance.', 'files', 'async_io', 'Not captured. io_uring can open, read, write and connect without the ordinary calls, which would pass every capture here; syscall_numbers.support says how much of it gVisor implements.'),
481
+ ('statfs', 'Returns filesystem statistics for a path.', 'files', 'inspect', NULL),
482
+ ('fstatfs', 'Returns filesystem statistics for a descriptor.', 'files', 'inspect', NULL),
483
+ ('ustat', 'Returns filesystem statistics for a device.', 'files', 'inspect', NULL),
484
+ ('getcwd', 'Returns the current working directory.', 'files', 'inspect', NULL),
485
+ ('sysfs', 'Returns filesystem type information.', 'files', 'inspect', NULL),
486
+ ('name_to_handle_at', 'Returns an opaque handle for a path.', 'files', 'inspect', NULL),
487
+ ('open_by_handle_at', 'Opens a file named by an opaque handle, not a path.', 'files', 'open', 'Not captured. It opens a file without naming it; it needs a capability the sandbox does not have.'),
488
+ ('fadvise64', 'Declares an expected access pattern for file data.', 'files', 'descriptor_bookkeeping', NULL),
489
+ ('readahead', 'Reads file data into the page cache ahead of use.', 'files', 'descriptor_bookkeeping', NULL),
490
+ ('flock', 'Applies or removes an advisory lock on an open file.', 'files', 'descriptor_bookkeeping', NULL),
491
+ ('sync', 'Commits all filesystem caches to storage.', 'files', 'descriptor_bookkeeping', NULL),
492
+ ('syncfs', 'Commits one filesystem to storage.', 'files', 'descriptor_bookkeeping', NULL),
493
+ ('sync_file_range', 'Commits a range of a file to storage.', 'files', 'descriptor_bookkeeping', NULL),
494
+ ('poll', 'Waits for events on a set of descriptors.', 'other', 'event_wait', NULL),
495
+ ('ppoll', 'Waits for events on descriptors, with a signal mask.', 'other', 'event_wait', NULL),
496
+ ('select', 'Waits for descriptors to become ready.', 'other', 'event_wait', NULL),
497
+ ('pselect6', 'Waits for descriptors to become ready, with a signal mask.', 'other', 'event_wait', NULL),
498
+ ('epoll_create', 'Creates an epoll instance.', 'other', 'event_wait', NULL),
499
+ ('epoll_create1', 'Creates an epoll instance, with flags.', 'other', 'event_wait', NULL),
500
+ ('epoll_ctl', 'Adds, changes or removes a descriptor in an epoll instance.', 'other', 'event_wait', NULL),
501
+ ('epoll_ctl_old', 'Obsolete epoll control call.', 'other', 'event_wait', NULL),
502
+ ('epoll_wait', 'Waits for events on an epoll instance.', 'other', 'event_wait', NULL),
503
+ ('epoll_wait_old', 'Obsolete epoll wait call.', 'other', 'event_wait', NULL),
504
+ ('epoll_pwait', 'Waits for events on an epoll instance, with a signal mask.', 'other', 'event_wait', NULL),
505
+ ('epoll_pwait2', 'Waits for events on an epoll instance, with a nanosecond timeout.', 'other', 'event_wait', NULL),
506
+ ('uname', 'Returns the system name and version.', 'other', 'system', NULL),
507
+ ('sysinfo', 'Returns memory and load statistics.', 'other', 'system', NULL),
508
+ ('syslog', 'Reads or controls the kernel log.', 'other', 'system', NULL),
509
+ ('reboot', 'Reboots or halts the system.', 'other', 'system', NULL),
510
+ ('sethostname', 'Sets the host name.', 'other', 'system', NULL),
511
+ ('setdomainname', 'Sets the domain name.', 'other', 'system', NULL),
512
+ ('kexec_load', 'Loads a new kernel for later execution.', 'other', 'system', NULL),
513
+ ('kexec_file_load', 'Loads a new kernel from a file.', 'other', 'system', NULL),
514
+ ('init_module', 'Loads a kernel module from memory.', 'other', 'system', NULL),
515
+ ('finit_module', 'Loads a kernel module from a file.', 'other', 'system', NULL),
516
+ ('delete_module', 'Unloads a kernel module.', 'other', 'system', NULL),
517
+ ('create_module', 'Obsolete: reserves memory for a kernel module.', 'other', 'system', NULL),
518
+ ('query_module', 'Obsolete: queries kernel module information.', 'other', 'system', NULL),
519
+ ('get_kernel_syms', 'Obsolete: returns exported kernel symbols.', 'other', 'system', NULL),
520
+ ('acct', 'Turns process accounting on or off.', 'other', 'system', NULL),
521
+ ('bpf', 'Loads and controls eBPF programs and maps.', 'other', 'system', NULL),
522
+ ('perf_event_open', 'Opens a performance monitoring event.', 'other', 'system', NULL),
523
+ ('sysctl', 'Obsolete: reads or writes kernel parameters.', 'other', 'system', NULL),
524
+ ('ioperm', 'Sets port I/O permissions.', 'other', 'system', NULL),
525
+ ('iopl', 'Changes the I/O privilege level.', 'other', 'system', NULL),
526
+ ('vhangup', 'Hangs up the controlling terminal.', 'other', 'system', NULL),
527
+ ('add_key', 'Adds a key to the kernel key ring.', 'other', 'system', NULL),
528
+ ('request_key', 'Requests a key from the kernel key ring.', 'other', 'system', NULL),
529
+ ('keyctl', 'Manipulates the kernel key ring.', 'other', 'system', NULL),
530
+ ('getrandom', 'Returns random bytes.', 'other', 'system', NULL),
531
+ ('uselib', 'Obsolete: loads a shared library.', 'other', 'system', NULL),
532
+ ('lookup_dcookie', 'Returns the path of a directory entry cookie, for profilers.', 'other', 'system', NULL),
533
+ ('nfsservctl', 'Obsolete: controls the kernel NFS server.', 'other', 'system', NULL),
534
+ ('security', 'Reserved and unimplemented.', 'other', 'system', NULL),
535
+ ('tuxcall', 'Reserved and unimplemented.', 'other', 'system', NULL),
536
+ ('vserver', 'Reserved and unimplemented.', 'other', 'system', NULL),
537
+ ('afs_syscall', 'Reserved and unimplemented.', 'other', 'system', NULL),
538
+ ('getpmsg', 'Reserved and unimplemented STREAMS call.', 'other', 'system', NULL),
539
+ ('putpmsg', 'Reserved and unimplemented STREAMS call.', 'other', 'system', NULL)
540
+ ) WHERE true
541
+ ON CONFLICT(syscall_name) DO UPDATE SET
542
+ description=excluded.description,
543
+ group_id=excluded.group_id,
544
+ category_id=excluded.category_id,
545
+ default_impact_level=excluded.default_impact_level,
546
+ classification_rule=excluded.classification_rule,
547
+ required_evidence=excluded.required_evidence,
548
+ interpretation_notes=excluded.interpretation_notes,
549
+ capture=excluded.capture,
550
+ capture_fields=excluded.capture_fields,
551
+ effect_rule=excluded.effect_rule,
552
+ catalog_version=excluded.catalog_version;
553
+
554
+ -- What RayTrace captures of the file calls. Each row above was first set back
555
+ -- to 'no' by its own insert, so re-importing ends in the same place.
556
+ UPDATE syscall_catalog SET capture='yes', capture_fields='["fd_path"]', effect_rule='open' WHERE syscall_name IN ('openat', 'creat');
557
+ UPDATE syscall_catalog SET capture='yes', effect_rule='open' WHERE syscall_name = 'open';
558
+ UPDATE syscall_catalog SET capture='watcher', effect_rule='remove' WHERE syscall_name IN ('unlink', 'unlinkat', 'rmdir');
559
+ UPDATE syscall_catalog SET capture='watcher', effect_rule='rename' WHERE syscall_name IN ('rename', 'renameat', 'renameat2');
560
+ UPDATE syscall_catalog SET capture='watcher', effect_rule='resize' WHERE syscall_name IN ('truncate', 'ftruncate');
561
+ UPDATE syscall_catalog SET capture='watcher', effect_rule='mkdir' WHERE syscall_name IN ('mkdir', 'mkdirat');
562
+ UPDATE syscall_catalog SET capture='watcher', effect_rule='metadata' WHERE syscall_name IN ('chmod', 'fchmod', 'fchmodat');
563
+
564
+ -- BEGIN GENERATED numbers (catalog_numbers.py, gVisor release 20260817.0; do not edit by hand)
565
+ DELETE FROM syscall_numbers;
566
+ INSERT INTO syscall_numbers (arch, sysno, syscall_name, support) VALUES
567
+ ('x86_64', 0, 'read', 'supported'), ('x86_64', 1, 'write', 'supported'), ('x86_64', 2, 'open', 'supported'),
568
+ ('x86_64', 3, 'close', 'supported'), ('x86_64', 4, 'stat', 'supported'), ('x86_64', 5, 'fstat', 'supported'),
569
+ ('x86_64', 6, 'lstat', 'supported'), ('x86_64', 7, 'poll', 'supported'), ('x86_64', 8, 'lseek', 'supported'),
570
+ ('x86_64', 9, 'mmap', 'supported'), ('x86_64', 10, 'mprotect', 'supported'), ('x86_64', 11, 'munmap', 'supported'),
571
+ ('x86_64', 12, 'brk', 'supported'), ('x86_64', 13, 'rt_sigaction', 'supported'), ('x86_64', 14, 'rt_sigprocmask', 'supported'),
572
+ ('x86_64', 15, 'rt_sigreturn', 'supported'), ('x86_64', 16, 'ioctl', 'supported'), ('x86_64', 17, 'pread64', 'supported'),
573
+ ('x86_64', 18, 'pwrite64', 'supported'), ('x86_64', 19, 'readv', 'supported'), ('x86_64', 20, 'writev', 'supported'),
574
+ ('x86_64', 21, 'access', 'supported'), ('x86_64', 22, 'pipe', 'supported'), ('x86_64', 23, 'select', 'supported'),
575
+ ('x86_64', 24, 'sched_yield', 'supported'), ('x86_64', 25, 'mremap', 'supported'), ('x86_64', 26, 'msync', 'partial'),
576
+ ('x86_64', 27, 'mincore', 'partial'), ('x86_64', 28, 'madvise', 'partial'), ('x86_64', 29, 'shmget', 'partial'),
577
+ ('x86_64', 30, 'shmat', 'partial'), ('x86_64', 31, 'shmctl', 'partial'), ('x86_64', 32, 'dup', 'supported'),
578
+ ('x86_64', 33, 'dup2', 'supported'), ('x86_64', 34, 'pause', 'supported'), ('x86_64', 35, 'nanosleep', 'supported'),
579
+ ('x86_64', 36, 'getitimer', 'supported'), ('x86_64', 37, 'alarm', 'supported'), ('x86_64', 38, 'setitimer', 'supported'),
580
+ ('x86_64', 39, 'getpid', 'supported'), ('x86_64', 40, 'sendfile', 'supported'), ('x86_64', 41, 'socket', 'supported'),
581
+ ('x86_64', 42, 'connect', 'supported'), ('x86_64', 43, 'accept', 'supported'), ('x86_64', 44, 'sendto', 'supported'),
582
+ ('x86_64', 45, 'recvfrom', 'supported'), ('x86_64', 46, 'sendmsg', 'supported'), ('x86_64', 47, 'recvmsg', 'supported'),
583
+ ('x86_64', 48, 'shutdown', 'supported'), ('x86_64', 49, 'bind', 'supported'), ('x86_64', 50, 'listen', 'supported'),
584
+ ('x86_64', 51, 'getsockname', 'supported'), ('x86_64', 52, 'getpeername', 'supported'), ('x86_64', 53, 'socketpair', 'supported'),
585
+ ('x86_64', 54, 'setsockopt', 'supported'), ('x86_64', 55, 'getsockopt', 'supported'), ('x86_64', 56, 'clone', 'partial'),
586
+ ('x86_64', 57, 'fork', 'supported'), ('x86_64', 58, 'vfork', 'supported'), ('x86_64', 59, 'execve', 'supported'),
587
+ ('x86_64', 60, 'exit', 'supported'), ('x86_64', 61, 'wait4', 'supported'), ('x86_64', 62, 'kill', 'supported'),
588
+ ('x86_64', 63, 'uname', 'supported'), ('x86_64', 64, 'semget', 'supported'), ('x86_64', 65, 'semop', 'partial'),
589
+ ('x86_64', 66, 'semctl', 'supported'), ('x86_64', 67, 'shmdt', 'supported'), ('x86_64', 68, 'msgget', 'supported'),
590
+ ('x86_64', 69, 'msgsnd', 'supported'), ('x86_64', 70, 'msgrcv', 'supported'), ('x86_64', 71, 'msgctl', 'supported'),
591
+ ('x86_64', 72, 'fcntl', 'supported'), ('x86_64', 73, 'flock', 'supported'), ('x86_64', 74, 'fsync', 'supported'),
592
+ ('x86_64', 75, 'fdatasync', 'supported'), ('x86_64', 76, 'truncate', 'supported'), ('x86_64', 77, 'ftruncate', 'supported'),
593
+ ('x86_64', 78, 'getdents', 'supported'), ('x86_64', 79, 'getcwd', 'supported'), ('x86_64', 80, 'chdir', 'supported'),
594
+ ('x86_64', 81, 'fchdir', 'supported'), ('x86_64', 82, 'rename', 'supported'), ('x86_64', 83, 'mkdir', 'supported'),
595
+ ('x86_64', 84, 'rmdir', 'supported'), ('x86_64', 85, 'creat', 'supported'), ('x86_64', 86, 'link', 'supported'),
596
+ ('x86_64', 87, 'unlink', 'supported'), ('x86_64', 88, 'symlink', 'supported'), ('x86_64', 89, 'readlink', 'supported'),
597
+ ('x86_64', 90, 'chmod', 'supported'), ('x86_64', 91, 'fchmod', 'supported'), ('x86_64', 92, 'chown', 'supported'),
598
+ ('x86_64', 93, 'fchown', 'supported'), ('x86_64', 94, 'lchown', 'supported'), ('x86_64', 95, 'umask', 'supported'),
599
+ ('x86_64', 96, 'gettimeofday', 'supported'), ('x86_64', 97, 'getrlimit', 'supported'), ('x86_64', 98, 'getrusage', 'partial'),
600
+ ('x86_64', 99, 'sysinfo', 'partial'), ('x86_64', 100, 'times', 'supported'), ('x86_64', 101, 'ptrace', 'partial'),
601
+ ('x86_64', 102, 'getuid', 'supported'), ('x86_64', 103, 'syslog', 'partial'), ('x86_64', 104, 'getgid', 'supported'),
602
+ ('x86_64', 105, 'setuid', 'supported'), ('x86_64', 106, 'setgid', 'supported'), ('x86_64', 107, 'geteuid', 'supported'),
603
+ ('x86_64', 108, 'getegid', 'supported'), ('x86_64', 109, 'setpgid', 'supported'), ('x86_64', 110, 'getppid', 'supported'),
604
+ ('x86_64', 111, 'getpgrp', 'supported'), ('x86_64', 112, 'setsid', 'supported'), ('x86_64', 113, 'setreuid', 'supported'),
605
+ ('x86_64', 114, 'setregid', 'supported'), ('x86_64', 115, 'getgroups', 'supported'), ('x86_64', 116, 'setgroups', 'supported'),
606
+ ('x86_64', 117, 'setresuid', 'supported'), ('x86_64', 118, 'getresuid', 'supported'), ('x86_64', 119, 'setresgid', 'supported'),
607
+ ('x86_64', 120, 'getresgid', 'supported'), ('x86_64', 121, 'getpgid', 'supported'), ('x86_64', 122, 'setfsuid', 'unsupported'),
608
+ ('x86_64', 123, 'setfsgid', 'unsupported'), ('x86_64', 124, 'getsid', 'supported'), ('x86_64', 125, 'capget', 'supported'),
609
+ ('x86_64', 126, 'capset', 'supported'), ('x86_64', 127, 'rt_sigpending', 'supported'), ('x86_64', 128, 'rt_sigtimedwait', 'supported'),
610
+ ('x86_64', 129, 'rt_sigqueueinfo', 'supported'), ('x86_64', 130, 'rt_sigsuspend', 'supported'), ('x86_64', 131, 'sigaltstack', 'supported'),
611
+ ('x86_64', 132, 'utime', 'supported'), ('x86_64', 133, 'mknod', 'supported'), ('x86_64', 134, 'uselib', 'unsupported'),
612
+ ('x86_64', 135, 'personality', 'partial'), ('x86_64', 136, 'ustat', 'unsupported'), ('x86_64', 137, 'statfs', 'supported'),
613
+ ('x86_64', 138, 'fstatfs', 'supported'), ('x86_64', 139, 'sysfs', 'unsupported'), ('x86_64', 140, 'getpriority', 'partial'),
614
+ ('x86_64', 141, 'setpriority', 'partial'), ('x86_64', 142, 'sched_setparam', 'unsupported'), ('x86_64', 143, 'sched_getparam', 'partial'),
615
+ ('x86_64', 144, 'sched_setscheduler', 'partial'), ('x86_64', 145, 'sched_getscheduler', 'partial'), ('x86_64', 146, 'sched_get_priority_max', 'partial'),
616
+ ('x86_64', 147, 'sched_get_priority_min', 'partial'), ('x86_64', 148, 'sched_rr_get_interval', 'unsupported'), ('x86_64', 149, 'mlock', 'partial'),
617
+ ('x86_64', 150, 'munlock', 'partial'), ('x86_64', 151, 'mlockall', 'partial'), ('x86_64', 152, 'munlockall', 'partial'),
618
+ ('x86_64', 153, 'vhangup', 'unsupported'), ('x86_64', 154, 'modify_ldt', 'unsupported'), ('x86_64', 155, 'pivot_root', 'supported'),
619
+ ('x86_64', 156, 'sysctl', 'unsupported'), ('x86_64', 157, 'prctl', 'partial'), ('x86_64', 158, 'arch_prctl', 'partial'),
620
+ ('x86_64', 159, 'adjtimex', 'unsupported'), ('x86_64', 160, 'setrlimit', 'partial'), ('x86_64', 161, 'chroot', 'supported'),
621
+ ('x86_64', 162, 'sync', 'supported'), ('x86_64', 163, 'acct', 'unsupported'), ('x86_64', 164, 'settimeofday', 'unsupported'),
622
+ ('x86_64', 165, 'mount', 'supported'), ('x86_64', 166, 'umount2', 'supported'), ('x86_64', 167, 'swapon', 'unsupported'),
623
+ ('x86_64', 168, 'swapoff', 'unsupported'), ('x86_64', 169, 'reboot', 'unsupported'), ('x86_64', 170, 'sethostname', 'supported'),
624
+ ('x86_64', 171, 'setdomainname', 'supported'), ('x86_64', 172, 'iopl', 'unsupported'), ('x86_64', 173, 'ioperm', 'unsupported'),
625
+ ('x86_64', 174, 'create_module', 'unsupported'), ('x86_64', 175, 'init_module', 'unsupported'), ('x86_64', 176, 'delete_module', 'unsupported'),
626
+ ('x86_64', 177, 'get_kernel_syms', 'unsupported'), ('x86_64', 178, 'query_module', 'unsupported'), ('x86_64', 179, 'quotactl', 'unsupported'),
627
+ ('x86_64', 180, 'nfsservctl', 'unsupported'), ('x86_64', 181, 'getpmsg', 'unsupported'), ('x86_64', 182, 'putpmsg', 'unsupported'),
628
+ ('x86_64', 183, 'afs_syscall', 'partial'), ('x86_64', 184, 'tuxcall', 'unsupported'), ('x86_64', 185, 'security', 'unsupported'),
629
+ ('x86_64', 186, 'gettid', 'supported'), ('x86_64', 187, 'readahead', 'supported'), ('x86_64', 188, 'setxattr', 'supported'),
630
+ ('x86_64', 189, 'lsetxattr', 'supported'), ('x86_64', 190, 'fsetxattr', 'supported'), ('x86_64', 191, 'getxattr', 'supported'),
631
+ ('x86_64', 192, 'lgetxattr', 'supported'), ('x86_64', 193, 'fgetxattr', 'supported'), ('x86_64', 194, 'listxattr', 'supported'),
632
+ ('x86_64', 195, 'llistxattr', 'supported'), ('x86_64', 196, 'flistxattr', 'supported'), ('x86_64', 197, 'removexattr', 'supported'),
633
+ ('x86_64', 198, 'lremovexattr', 'supported'), ('x86_64', 199, 'fremovexattr', 'supported'), ('x86_64', 200, 'tkill', 'supported'),
634
+ ('x86_64', 201, 'time', 'supported'), ('x86_64', 202, 'futex', 'partial'), ('x86_64', 203, 'sched_setaffinity', 'partial'),
635
+ ('x86_64', 204, 'sched_getaffinity', 'partial'), ('x86_64', 205, 'set_thread_area', 'unsupported'), ('x86_64', 206, 'io_setup', 'partial'),
636
+ ('x86_64', 207, 'io_destroy', 'partial'), ('x86_64', 208, 'io_getevents', 'partial'), ('x86_64', 209, 'io_submit', 'partial'),
637
+ ('x86_64', 210, 'io_cancel', 'partial'), ('x86_64', 211, 'get_thread_area', 'unsupported'), ('x86_64', 212, 'lookup_dcookie', 'unsupported'),
638
+ ('x86_64', 213, 'epoll_create', 'supported'), ('x86_64', 214, 'epoll_ctl_old', 'unsupported'), ('x86_64', 215, 'epoll_wait_old', 'unsupported'),
639
+ ('x86_64', 216, 'remap_file_pages', 'unsupported'), ('x86_64', 217, 'getdents64', 'supported'), ('x86_64', 218, 'set_tid_address', 'supported'),
640
+ ('x86_64', 219, 'restart_syscall', 'supported'), ('x86_64', 220, 'semtimedop', 'supported'), ('x86_64', 221, 'fadvise64', 'partial'),
641
+ ('x86_64', 222, 'timer_create', 'supported'), ('x86_64', 223, 'timer_settime', 'supported'), ('x86_64', 224, 'timer_gettime', 'supported'),
642
+ ('x86_64', 225, 'timer_getoverrun', 'supported'), ('x86_64', 226, 'timer_delete', 'supported'), ('x86_64', 227, 'clock_settime', 'supported'),
643
+ ('x86_64', 228, 'clock_gettime', 'supported'), ('x86_64', 229, 'clock_getres', 'supported'), ('x86_64', 230, 'clock_nanosleep', 'supported'),
644
+ ('x86_64', 231, 'exit_group', 'supported'), ('x86_64', 232, 'epoll_wait', 'supported'), ('x86_64', 233, 'epoll_ctl', 'supported'),
645
+ ('x86_64', 234, 'tgkill', 'supported'), ('x86_64', 235, 'utimes', 'supported'), ('x86_64', 236, 'vserver', 'unsupported'),
646
+ ('x86_64', 237, 'mbind', 'partial'), ('x86_64', 238, 'set_mempolicy', 'partial'), ('x86_64', 239, 'get_mempolicy', 'partial'),
647
+ ('x86_64', 240, 'mq_open', 'supported'), ('x86_64', 241, 'mq_unlink', 'supported'), ('x86_64', 242, 'mq_timedsend', 'unsupported'),
648
+ ('x86_64', 243, 'mq_timedreceive', 'unsupported'), ('x86_64', 244, 'mq_notify', 'unsupported'), ('x86_64', 245, 'mq_getsetattr', 'unsupported'),
649
+ ('x86_64', 246, 'kexec_load', 'unsupported'), ('x86_64', 247, 'waitid', 'supported'), ('x86_64', 248, 'add_key', 'unsupported'),
650
+ ('x86_64', 249, 'request_key', 'unsupported'), ('x86_64', 250, 'keyctl', 'partial'), ('x86_64', 251, 'ioprio_set', 'partial'),
651
+ ('x86_64', 252, 'ioprio_get', 'partial'), ('x86_64', 253, 'inotify_init', 'partial'), ('x86_64', 254, 'inotify_add_watch', 'partial'),
652
+ ('x86_64', 255, 'inotify_rm_watch', 'partial'), ('x86_64', 256, 'migrate_pages', 'unsupported'), ('x86_64', 257, 'openat', 'supported'),
653
+ ('x86_64', 258, 'mkdirat', 'supported'), ('x86_64', 259, 'mknodat', 'supported'), ('x86_64', 260, 'fchownat', 'supported'),
654
+ ('x86_64', 261, 'futimesat', 'supported'), ('x86_64', 262, 'newfstatat', 'supported'), ('x86_64', 263, 'unlinkat', 'supported'),
655
+ ('x86_64', 264, 'renameat', 'supported'), ('x86_64', 265, 'linkat', 'supported'), ('x86_64', 266, 'symlinkat', 'supported'),
656
+ ('x86_64', 267, 'readlinkat', 'supported'), ('x86_64', 268, 'fchmodat', 'supported'), ('x86_64', 269, 'faccessat', 'supported'),
657
+ ('x86_64', 270, 'pselect6', 'supported'), ('x86_64', 271, 'ppoll', 'supported'), ('x86_64', 272, 'unshare', 'partial'),
658
+ ('x86_64', 273, 'set_robust_list', 'supported'), ('x86_64', 274, 'get_robust_list', 'supported'), ('x86_64', 275, 'splice', 'supported'),
659
+ ('x86_64', 276, 'tee', 'supported'), ('x86_64', 277, 'sync_file_range', 'supported'), ('x86_64', 278, 'vmsplice', 'unsupported'),
660
+ ('x86_64', 279, 'move_pages', 'unsupported'), ('x86_64', 280, 'utimensat', 'supported'), ('x86_64', 281, 'epoll_pwait', 'supported'),
661
+ ('x86_64', 282, 'signalfd', 'supported'), ('x86_64', 283, 'timerfd_create', 'supported'), ('x86_64', 284, 'eventfd', 'supported'),
662
+ ('x86_64', 285, 'fallocate', 'partial'), ('x86_64', 286, 'timerfd_settime', 'supported'), ('x86_64', 287, 'timerfd_gettime', 'supported'),
663
+ ('x86_64', 288, 'accept4', 'supported'), ('x86_64', 289, 'signalfd4', 'supported'), ('x86_64', 290, 'eventfd2', 'supported'),
664
+ ('x86_64', 291, 'epoll_create1', 'supported'), ('x86_64', 292, 'dup3', 'supported'), ('x86_64', 293, 'pipe2', 'supported'),
665
+ ('x86_64', 294, 'inotify_init1', 'partial'), ('x86_64', 295, 'preadv', 'supported'), ('x86_64', 296, 'pwritev', 'supported'),
666
+ ('x86_64', 297, 'rt_tgsigqueueinfo', 'supported'), ('x86_64', 298, 'perf_event_open', 'unsupported'), ('x86_64', 299, 'recvmmsg', 'supported'),
667
+ ('x86_64', 300, 'fanotify_init', 'unsupported'), ('x86_64', 301, 'fanotify_mark', 'unsupported'), ('x86_64', 302, 'prlimit64', 'supported'),
668
+ ('x86_64', 303, 'name_to_handle_at', 'unsupported'), ('x86_64', 304, 'open_by_handle_at', 'unsupported'), ('x86_64', 305, 'clock_adjtime', 'unsupported'),
669
+ ('x86_64', 306, 'syncfs', 'supported'), ('x86_64', 307, 'sendmmsg', 'supported'), ('x86_64', 308, 'setns', 'supported'),
670
+ ('x86_64', 309, 'getcpu', 'supported'), ('x86_64', 310, 'process_vm_readv', 'supported'), ('x86_64', 311, 'process_vm_writev', 'supported'),
671
+ ('x86_64', 312, 'kcmp', 'unsupported'), ('x86_64', 313, 'finit_module', 'unsupported'), ('x86_64', 314, 'sched_setattr', 'partial'),
672
+ ('x86_64', 315, 'sched_getattr', 'partial'), ('x86_64', 316, 'renameat2', 'supported'), ('x86_64', 317, 'seccomp', 'supported'),
673
+ ('x86_64', 318, 'getrandom', 'supported'), ('x86_64', 319, 'memfd_create', 'supported'), ('x86_64', 320, 'kexec_file_load', 'unsupported'),
674
+ ('x86_64', 321, 'bpf', 'partial'), ('x86_64', 322, 'execveat', 'supported'), ('x86_64', 323, 'userfaultfd', 'unsupported'),
675
+ ('x86_64', 324, 'membarrier', 'partial'), ('x86_64', 325, 'mlock2', 'partial'), ('x86_64', 326, 'copy_file_range', 'unsupported'),
676
+ ('x86_64', 327, 'preadv2', 'partial'), ('x86_64', 328, 'pwritev2', 'partial'), ('x86_64', 329, 'pkey_mprotect', 'unsupported'),
677
+ ('x86_64', 330, 'pkey_alloc', 'unsupported'), ('x86_64', 331, 'pkey_free', 'unsupported'), ('x86_64', 332, 'statx', 'supported'),
678
+ ('x86_64', 333, 'io_pgetevents', 'unsupported'), ('x86_64', 334, 'rseq', 'partial'), ('x86_64', 424, 'pidfd_send_signal', 'supported'),
679
+ ('x86_64', 425, 'io_uring_setup', 'partial'), ('x86_64', 426, 'io_uring_enter', 'partial'), ('x86_64', 427, 'io_uring_register', 'unsupported'),
680
+ ('x86_64', 428, 'open_tree', 'supported'), ('x86_64', 429, 'move_mount', 'partial'), ('x86_64', 430, 'fsopen', 'partial'),
681
+ ('x86_64', 431, 'fsconfig', 'partial'), ('x86_64', 432, 'fsmount', 'partial'), ('x86_64', 433, 'fspick', 'unsupported'),
682
+ ('x86_64', 434, 'pidfd_open', 'supported'), ('x86_64', 435, 'clone3', 'partial'), ('x86_64', 436, 'close_range', 'supported'),
683
+ ('x86_64', 438, 'pidfd_getfd', 'supported'), ('x86_64', 439, 'faccessat2', 'supported'), ('x86_64', 441, 'epoll_pwait2', 'supported'),
684
+ ('aarch64', 0, 'io_setup', 'partial'), ('aarch64', 1, 'io_destroy', 'partial'), ('aarch64', 2, 'io_submit', 'partial'),
685
+ ('aarch64', 3, 'io_cancel', 'partial'), ('aarch64', 4, 'io_getevents', 'partial'), ('aarch64', 5, 'setxattr', 'supported'),
686
+ ('aarch64', 6, 'lsetxattr', 'supported'), ('aarch64', 7, 'fsetxattr', 'supported'), ('aarch64', 8, 'getxattr', 'supported'),
687
+ ('aarch64', 9, 'lgetxattr', 'supported'), ('aarch64', 10, 'fgetxattr', 'supported'), ('aarch64', 11, 'listxattr', 'supported'),
688
+ ('aarch64', 12, 'llistxattr', 'supported'), ('aarch64', 13, 'flistxattr', 'supported'), ('aarch64', 14, 'removexattr', 'supported'),
689
+ ('aarch64', 15, 'lremovexattr', 'supported'), ('aarch64', 16, 'fremovexattr', 'supported'), ('aarch64', 17, 'getcwd', 'supported'),
690
+ ('aarch64', 18, 'lookup_dcookie', 'unsupported'), ('aarch64', 19, 'eventfd2', 'supported'), ('aarch64', 20, 'epoll_create1', 'supported'),
691
+ ('aarch64', 21, 'epoll_ctl', 'supported'), ('aarch64', 22, 'epoll_pwait', 'supported'), ('aarch64', 23, 'dup', 'supported'),
692
+ ('aarch64', 24, 'dup3', 'supported'), ('aarch64', 25, 'fcntl', 'supported'), ('aarch64', 26, 'inotify_init1', 'partial'),
693
+ ('aarch64', 27, 'inotify_add_watch', 'partial'), ('aarch64', 28, 'inotify_rm_watch', 'partial'), ('aarch64', 29, 'ioctl', 'supported'),
694
+ ('aarch64', 30, 'ioprio_set', 'partial'), ('aarch64', 31, 'ioprio_get', 'partial'), ('aarch64', 32, 'flock', 'supported'),
695
+ ('aarch64', 33, 'mknodat', 'supported'), ('aarch64', 34, 'mkdirat', 'supported'), ('aarch64', 35, 'unlinkat', 'supported'),
696
+ ('aarch64', 36, 'symlinkat', 'supported'), ('aarch64', 37, 'linkat', 'supported'), ('aarch64', 38, 'renameat', 'supported'),
697
+ ('aarch64', 39, 'umount2', 'supported'), ('aarch64', 40, 'mount', 'supported'), ('aarch64', 41, 'pivot_root', 'supported'),
698
+ ('aarch64', 42, 'nfsservctl', 'unsupported'), ('aarch64', 43, 'statfs', 'supported'), ('aarch64', 44, 'fstatfs', 'supported'),
699
+ ('aarch64', 45, 'truncate', 'supported'), ('aarch64', 46, 'ftruncate', 'supported'), ('aarch64', 47, 'fallocate', 'partial'),
700
+ ('aarch64', 48, 'faccessat', 'supported'), ('aarch64', 49, 'chdir', 'supported'), ('aarch64', 50, 'fchdir', 'supported'),
701
+ ('aarch64', 51, 'chroot', 'supported'), ('aarch64', 52, 'fchmod', 'supported'), ('aarch64', 53, 'fchmodat', 'supported'),
702
+ ('aarch64', 54, 'fchownat', 'supported'), ('aarch64', 55, 'fchown', 'supported'), ('aarch64', 56, 'openat', 'supported'),
703
+ ('aarch64', 57, 'close', 'supported'), ('aarch64', 58, 'vhangup', 'unsupported'), ('aarch64', 59, 'pipe2', 'supported'),
704
+ ('aarch64', 60, 'quotactl', 'unsupported'), ('aarch64', 61, 'getdents64', 'supported'), ('aarch64', 62, 'lseek', 'supported'),
705
+ ('aarch64', 63, 'read', 'supported'), ('aarch64', 64, 'write', 'supported'), ('aarch64', 65, 'readv', 'supported'),
706
+ ('aarch64', 66, 'writev', 'supported'), ('aarch64', 67, 'pread64', 'supported'), ('aarch64', 68, 'pwrite64', 'supported'),
707
+ ('aarch64', 69, 'preadv', 'supported'), ('aarch64', 70, 'pwritev', 'supported'), ('aarch64', 71, 'sendfile', 'supported'),
708
+ ('aarch64', 72, 'pselect6', 'supported'), ('aarch64', 73, 'ppoll', 'supported'), ('aarch64', 74, 'signalfd4', 'supported'),
709
+ ('aarch64', 75, 'vmsplice', 'unsupported'), ('aarch64', 76, 'splice', 'supported'), ('aarch64', 77, 'tee', 'supported'),
710
+ ('aarch64', 78, 'readlinkat', 'supported'), ('aarch64', 79, 'newfstatat', 'supported'), ('aarch64', 80, 'fstat', 'supported'),
711
+ ('aarch64', 81, 'sync', 'supported'), ('aarch64', 82, 'fsync', 'supported'), ('aarch64', 83, 'fdatasync', 'supported'),
712
+ ('aarch64', 84, 'sync_file_range', 'supported'), ('aarch64', 85, 'timerfd_create', 'supported'), ('aarch64', 86, 'timerfd_settime', 'supported'),
713
+ ('aarch64', 87, 'timerfd_gettime', 'supported'), ('aarch64', 88, 'utimensat', 'supported'), ('aarch64', 89, 'acct', 'unsupported'),
714
+ ('aarch64', 90, 'capget', 'supported'), ('aarch64', 91, 'capset', 'supported'), ('aarch64', 92, 'personality', 'partial'),
715
+ ('aarch64', 93, 'exit', 'supported'), ('aarch64', 94, 'exit_group', 'supported'), ('aarch64', 95, 'waitid', 'supported'),
716
+ ('aarch64', 96, 'set_tid_address', 'supported'), ('aarch64', 97, 'unshare', 'partial'), ('aarch64', 98, 'futex', 'partial'),
717
+ ('aarch64', 99, 'set_robust_list', 'supported'), ('aarch64', 100, 'get_robust_list', 'supported'), ('aarch64', 101, 'nanosleep', 'supported'),
718
+ ('aarch64', 102, 'getitimer', 'supported'), ('aarch64', 103, 'setitimer', 'supported'), ('aarch64', 104, 'kexec_load', 'unsupported'),
719
+ ('aarch64', 105, 'init_module', 'unsupported'), ('aarch64', 106, 'delete_module', 'unsupported'), ('aarch64', 107, 'timer_create', 'supported'),
720
+ ('aarch64', 108, 'timer_gettime', 'supported'), ('aarch64', 109, 'timer_getoverrun', 'supported'), ('aarch64', 110, 'timer_settime', 'supported'),
721
+ ('aarch64', 111, 'timer_delete', 'supported'), ('aarch64', 112, 'clock_settime', 'supported'), ('aarch64', 113, 'clock_gettime', 'supported'),
722
+ ('aarch64', 114, 'clock_getres', 'supported'), ('aarch64', 115, 'clock_nanosleep', 'supported'), ('aarch64', 116, 'syslog', 'partial'),
723
+ ('aarch64', 117, 'ptrace', 'partial'), ('aarch64', 118, 'sched_setparam', 'unsupported'), ('aarch64', 119, 'sched_setscheduler', 'partial'),
724
+ ('aarch64', 120, 'sched_getscheduler', 'partial'), ('aarch64', 121, 'sched_getparam', 'partial'), ('aarch64', 122, 'sched_setaffinity', 'partial'),
725
+ ('aarch64', 123, 'sched_getaffinity', 'partial'), ('aarch64', 124, 'sched_yield', 'supported'), ('aarch64', 125, 'sched_get_priority_max', 'partial'),
726
+ ('aarch64', 126, 'sched_get_priority_min', 'partial'), ('aarch64', 127, 'sched_rr_get_interval', 'unsupported'), ('aarch64', 128, 'restart_syscall', 'supported'),
727
+ ('aarch64', 129, 'kill', 'supported'), ('aarch64', 130, 'tkill', 'supported'), ('aarch64', 131, 'tgkill', 'supported'),
728
+ ('aarch64', 132, 'sigaltstack', 'supported'), ('aarch64', 133, 'rt_sigsuspend', 'supported'), ('aarch64', 134, 'rt_sigaction', 'supported'),
729
+ ('aarch64', 135, 'rt_sigprocmask', 'supported'), ('aarch64', 136, 'rt_sigpending', 'supported'), ('aarch64', 137, 'rt_sigtimedwait', 'supported'),
730
+ ('aarch64', 138, 'rt_sigqueueinfo', 'supported'), ('aarch64', 139, 'rt_sigreturn', 'supported'), ('aarch64', 140, 'setpriority', 'partial'),
731
+ ('aarch64', 141, 'getpriority', 'partial'), ('aarch64', 142, 'reboot', 'unsupported'), ('aarch64', 143, 'setregid', 'supported'),
732
+ ('aarch64', 144, 'setgid', 'supported'), ('aarch64', 145, 'setreuid', 'supported'), ('aarch64', 146, 'setuid', 'supported'),
733
+ ('aarch64', 147, 'setresuid', 'supported'), ('aarch64', 148, 'getresuid', 'supported'), ('aarch64', 149, 'setresgid', 'supported'),
734
+ ('aarch64', 150, 'getresgid', 'supported'), ('aarch64', 151, 'setfsuid', 'unsupported'), ('aarch64', 152, 'setfsgid', 'unsupported'),
735
+ ('aarch64', 153, 'times', 'supported'), ('aarch64', 154, 'setpgid', 'supported'), ('aarch64', 155, 'getpgid', 'supported'),
736
+ ('aarch64', 156, 'getsid', 'supported'), ('aarch64', 157, 'setsid', 'supported'), ('aarch64', 158, 'getgroups', 'supported'),
737
+ ('aarch64', 159, 'setgroups', 'supported'), ('aarch64', 160, 'uname', 'supported'), ('aarch64', 161, 'sethostname', 'supported'),
738
+ ('aarch64', 162, 'setdomainname', 'supported'), ('aarch64', 163, 'getrlimit', 'supported'), ('aarch64', 164, 'setrlimit', 'partial'),
739
+ ('aarch64', 165, 'getrusage', 'partial'), ('aarch64', 166, 'umask', 'supported'), ('aarch64', 167, 'prctl', 'partial'),
740
+ ('aarch64', 168, 'getcpu', 'supported'), ('aarch64', 169, 'gettimeofday', 'supported'), ('aarch64', 170, 'settimeofday', 'unsupported'),
741
+ ('aarch64', 171, 'adjtimex', 'unsupported'), ('aarch64', 172, 'getpid', 'supported'), ('aarch64', 173, 'getppid', 'supported'),
742
+ ('aarch64', 174, 'getuid', 'supported'), ('aarch64', 175, 'geteuid', 'supported'), ('aarch64', 176, 'getgid', 'supported'),
743
+ ('aarch64', 177, 'getegid', 'supported'), ('aarch64', 178, 'gettid', 'supported'), ('aarch64', 179, 'sysinfo', 'partial'),
744
+ ('aarch64', 180, 'mq_open', 'supported'), ('aarch64', 181, 'mq_unlink', 'supported'), ('aarch64', 182, 'mq_timedsend', 'unsupported'),
745
+ ('aarch64', 183, 'mq_timedreceive', 'unsupported'), ('aarch64', 184, 'mq_notify', 'unsupported'), ('aarch64', 185, 'mq_getsetattr', 'unsupported'),
746
+ ('aarch64', 186, 'msgget', 'supported'), ('aarch64', 187, 'msgctl', 'supported'), ('aarch64', 188, 'msgrcv', 'supported'),
747
+ ('aarch64', 189, 'msgsnd', 'supported'), ('aarch64', 190, 'semget', 'supported'), ('aarch64', 191, 'semctl', 'supported'),
748
+ ('aarch64', 192, 'semtimedop', 'supported'), ('aarch64', 193, 'semop', 'partial'), ('aarch64', 194, 'shmget', 'partial'),
749
+ ('aarch64', 195, 'shmctl', 'partial'), ('aarch64', 196, 'shmat', 'partial'), ('aarch64', 197, 'shmdt', 'supported'),
750
+ ('aarch64', 198, 'socket', 'supported'), ('aarch64', 199, 'socketpair', 'supported'), ('aarch64', 200, 'bind', 'supported'),
751
+ ('aarch64', 201, 'listen', 'supported'), ('aarch64', 202, 'accept', 'supported'), ('aarch64', 203, 'connect', 'supported'),
752
+ ('aarch64', 204, 'getsockname', 'supported'), ('aarch64', 205, 'getpeername', 'supported'), ('aarch64', 206, 'sendto', 'supported'),
753
+ ('aarch64', 207, 'recvfrom', 'supported'), ('aarch64', 208, 'setsockopt', 'supported'), ('aarch64', 209, 'getsockopt', 'supported'),
754
+ ('aarch64', 210, 'shutdown', 'supported'), ('aarch64', 211, 'sendmsg', 'supported'), ('aarch64', 212, 'recvmsg', 'supported'),
755
+ ('aarch64', 213, 'readahead', 'supported'), ('aarch64', 214, 'brk', 'supported'), ('aarch64', 215, 'munmap', 'supported'),
756
+ ('aarch64', 216, 'mremap', 'supported'), ('aarch64', 217, 'add_key', 'unsupported'), ('aarch64', 218, 'request_key', 'unsupported'),
757
+ ('aarch64', 219, 'keyctl', 'partial'), ('aarch64', 220, 'clone', 'partial'), ('aarch64', 221, 'execve', 'supported'),
758
+ ('aarch64', 222, 'mmap', 'supported'), ('aarch64', 223, 'fadvise64', 'partial'), ('aarch64', 224, 'swapon', 'unsupported'),
759
+ ('aarch64', 225, 'swapoff', 'unsupported'), ('aarch64', 226, 'mprotect', 'supported'), ('aarch64', 227, 'msync', 'partial'),
760
+ ('aarch64', 228, 'mlock', 'partial'), ('aarch64', 229, 'munlock', 'partial'), ('aarch64', 230, 'mlockall', 'partial'),
761
+ ('aarch64', 231, 'munlockall', 'partial'), ('aarch64', 232, 'mincore', 'partial'), ('aarch64', 233, 'madvise', 'partial'),
762
+ ('aarch64', 234, 'remap_file_pages', 'unsupported'), ('aarch64', 235, 'mbind', 'partial'), ('aarch64', 236, 'get_mempolicy', 'partial'),
763
+ ('aarch64', 237, 'set_mempolicy', 'partial'), ('aarch64', 238, 'migrate_pages', 'unsupported'), ('aarch64', 239, 'move_pages', 'unsupported'),
764
+ ('aarch64', 240, 'rt_tgsigqueueinfo', 'supported'), ('aarch64', 241, 'perf_event_open', 'unsupported'), ('aarch64', 242, 'accept4', 'supported'),
765
+ ('aarch64', 243, 'recvmmsg', 'supported'), ('aarch64', 260, 'wait4', 'supported'), ('aarch64', 261, 'prlimit64', 'supported'),
766
+ ('aarch64', 262, 'fanotify_init', 'unsupported'), ('aarch64', 263, 'fanotify_mark', 'unsupported'), ('aarch64', 264, 'name_to_handle_at', 'unsupported'),
767
+ ('aarch64', 265, 'open_by_handle_at', 'unsupported'), ('aarch64', 266, 'clock_adjtime', 'unsupported'), ('aarch64', 267, 'syncfs', 'supported'),
768
+ ('aarch64', 268, 'setns', 'supported'), ('aarch64', 269, 'sendmmsg', 'supported'), ('aarch64', 270, 'process_vm_readv', 'supported'),
769
+ ('aarch64', 271, 'process_vm_writev', 'supported'), ('aarch64', 272, 'kcmp', 'unsupported'), ('aarch64', 273, 'finit_module', 'unsupported'),
770
+ ('aarch64', 274, 'sched_setattr', 'partial'), ('aarch64', 275, 'sched_getattr', 'partial'), ('aarch64', 276, 'renameat2', 'supported'),
771
+ ('aarch64', 277, 'seccomp', 'supported'), ('aarch64', 278, 'getrandom', 'supported'), ('aarch64', 279, 'memfd_create', 'supported'),
772
+ ('aarch64', 280, 'bpf', 'partial'), ('aarch64', 281, 'execveat', 'supported'), ('aarch64', 282, 'userfaultfd', 'unsupported'),
773
+ ('aarch64', 283, 'membarrier', 'partial'), ('aarch64', 284, 'mlock2', 'partial'), ('aarch64', 285, 'copy_file_range', 'unsupported'),
774
+ ('aarch64', 286, 'preadv2', 'partial'), ('aarch64', 287, 'pwritev2', 'partial'), ('aarch64', 288, 'pkey_mprotect', 'unsupported'),
775
+ ('aarch64', 289, 'pkey_alloc', 'unsupported'), ('aarch64', 290, 'pkey_free', 'unsupported'), ('aarch64', 291, 'statx', 'supported'),
776
+ ('aarch64', 292, 'io_pgetevents', 'unsupported'), ('aarch64', 293, 'rseq', 'partial'), ('aarch64', 424, 'pidfd_send_signal', 'supported'),
777
+ ('aarch64', 425, 'io_uring_setup', 'partial'), ('aarch64', 426, 'io_uring_enter', 'partial'), ('aarch64', 427, 'io_uring_register', 'unsupported'),
778
+ ('aarch64', 428, 'open_tree', 'supported'), ('aarch64', 429, 'move_mount', 'partial'), ('aarch64', 430, 'fsopen', 'partial'),
779
+ ('aarch64', 431, 'fsconfig', 'partial'), ('aarch64', 432, 'fsmount', 'partial'), ('aarch64', 433, 'fspick', 'unsupported'),
780
+ ('aarch64', 434, 'pidfd_open', 'supported'), ('aarch64', 435, 'clone3', 'partial'), ('aarch64', 436, 'close_range', 'supported'),
781
+ ('aarch64', 438, 'pidfd_getfd', 'supported'), ('aarch64', 439, 'faccessat2', 'supported'), ('aarch64', 441, 'epoll_pwait2', 'supported');
782
+ -- END GENERATED numbers
783
+
784
+ -- BEGIN GENERATED coverage (catalog_numbers.py, gVisor release 20260817.0; do not edit by hand)
785
+ DELETE FROM syscall_coverage;
786
+ INSERT INTO syscall_coverage (gvisor_release, syscall_name, point, optional_fields, observed, observed_fields) VALUES
787
+ ('20260817.0', 'accept', 'syscall/accept', '["fd_path"]', NULL, '[]'), ('20260817.0', 'accept4', 'syscall/accept4', '["fd_path"]', NULL, '[]'),
788
+ ('20260817.0', 'access', NULL, '[]', NULL, '[]'), ('20260817.0', 'acct', NULL, '[]', NULL, '[]'),
789
+ ('20260817.0', 'add_key', NULL, '[]', NULL, '[]'), ('20260817.0', 'adjtimex', NULL, '[]', NULL, '[]'),
790
+ ('20260817.0', 'afs_syscall', NULL, '[]', NULL, '[]'), ('20260817.0', 'alarm', NULL, '[]', NULL, '[]'),
791
+ ('20260817.0', 'arch_prctl', NULL, '[]', NULL, '[]'), ('20260817.0', 'bind', 'syscall/bind', '["fd_path"]', NULL, '[]'),
792
+ ('20260817.0', 'bpf', NULL, '[]', NULL, '[]'), ('20260817.0', 'brk', NULL, '[]', NULL, '[]'),
793
+ ('20260817.0', 'capget', NULL, '[]', NULL, '[]'), ('20260817.0', 'capset', NULL, '[]', NULL, '[]'),
794
+ ('20260817.0', 'chdir', 'syscall/chdir', '[]', NULL, '[]'), ('20260817.0', 'chmod', NULL, '[]', NULL, '[]'),
795
+ ('20260817.0', 'chown', NULL, '[]', NULL, '[]'), ('20260817.0', 'chroot', 'syscall/chroot', '[]', NULL, '[]'),
796
+ ('20260817.0', 'clock_adjtime', NULL, '[]', NULL, '[]'), ('20260817.0', 'clock_getres', NULL, '[]', NULL, '[]'),
797
+ ('20260817.0', 'clock_gettime', NULL, '[]', NULL, '[]'), ('20260817.0', 'clock_nanosleep', NULL, '[]', NULL, '[]'),
798
+ ('20260817.0', 'clock_settime', NULL, '[]', NULL, '[]'), ('20260817.0', 'clone', 'syscall/clone', '[]', NULL, '[]'),
799
+ ('20260817.0', 'clone3', NULL, '[]', NULL, '[]'), ('20260817.0', 'close', 'syscall/close', '["fd_path"]', NULL, '[]'),
800
+ ('20260817.0', 'close_range', NULL, '[]', NULL, '[]'), ('20260817.0', 'connect', 'syscall/connect', '["fd_path"]', 1, '["address", "result"]'),
801
+ ('20260817.0', 'copy_file_range', NULL, '[]', NULL, '[]'), ('20260817.0', 'creat', 'syscall/creat', '["fd_path"]', NULL, '[]'),
802
+ ('20260817.0', 'create_module', NULL, '[]', NULL, '[]'), ('20260817.0', 'delete_module', NULL, '[]', NULL, '[]'),
803
+ ('20260817.0', 'dup', 'syscall/dup', '["fd_path"]', NULL, '[]'), ('20260817.0', 'dup2', 'syscall/dup2', '["fd_path"]', NULL, '[]'),
804
+ ('20260817.0', 'dup3', 'syscall/dup3', '["fd_path"]', NULL, '[]'), ('20260817.0', 'epoll_create', NULL, '[]', NULL, '[]'),
805
+ ('20260817.0', 'epoll_create1', NULL, '[]', NULL, '[]'), ('20260817.0', 'epoll_ctl', NULL, '[]', NULL, '[]'),
806
+ ('20260817.0', 'epoll_ctl_old', NULL, '[]', NULL, '[]'), ('20260817.0', 'epoll_pwait', NULL, '[]', NULL, '[]'),
807
+ ('20260817.0', 'epoll_pwait2', NULL, '[]', NULL, '[]'), ('20260817.0', 'epoll_wait', NULL, '[]', NULL, '[]'),
808
+ ('20260817.0', 'epoll_wait_old', NULL, '[]', NULL, '[]'), ('20260817.0', 'eventfd', 'syscall/eventfd', '[]', NULL, '[]'),
809
+ ('20260817.0', 'eventfd2', 'syscall/eventfd2', '[]', NULL, '[]'), ('20260817.0', 'execve', 'syscall/execve', '["envv"]', NULL, '[]'),
810
+ ('20260817.0', 'execveat', 'syscall/execveat', '["envv", "fd_path"]', NULL, '[]'), ('20260817.0', 'exit', NULL, '[]', NULL, '[]'),
811
+ ('20260817.0', 'exit_group', NULL, '[]', NULL, '[]'), ('20260817.0', 'faccessat', NULL, '[]', NULL, '[]'),
812
+ ('20260817.0', 'faccessat2', NULL, '[]', NULL, '[]'), ('20260817.0', 'fadvise64', NULL, '[]', NULL, '[]'),
813
+ ('20260817.0', 'fallocate', NULL, '[]', NULL, '[]'), ('20260817.0', 'fanotify_init', NULL, '[]', NULL, '[]'),
814
+ ('20260817.0', 'fanotify_mark', NULL, '[]', NULL, '[]'), ('20260817.0', 'fchdir', 'syscall/fchdir', '["fd_path"]', NULL, '[]'),
815
+ ('20260817.0', 'fchmod', NULL, '[]', 0, '[]'), ('20260817.0', 'fchmodat', NULL, '[]', 0, '[]'),
816
+ ('20260817.0', 'fchown', NULL, '[]', NULL, '[]'), ('20260817.0', 'fchownat', NULL, '[]', NULL, '[]'),
817
+ ('20260817.0', 'fcntl', 'syscall/fcntl', '["fd_path"]', NULL, '[]'), ('20260817.0', 'fdatasync', NULL, '[]', NULL, '[]'),
818
+ ('20260817.0', 'fgetxattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'finit_module', NULL, '[]', NULL, '[]'),
819
+ ('20260817.0', 'flistxattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'flock', NULL, '[]', NULL, '[]'),
820
+ ('20260817.0', 'fork', 'syscall/fork', '[]', NULL, '[]'), ('20260817.0', 'fremovexattr', NULL, '[]', NULL, '[]'),
821
+ ('20260817.0', 'fsconfig', NULL, '[]', NULL, '[]'), ('20260817.0', 'fsetxattr', NULL, '[]', NULL, '[]'),
822
+ ('20260817.0', 'fsmount', NULL, '[]', NULL, '[]'), ('20260817.0', 'fsopen', NULL, '[]', NULL, '[]'),
823
+ ('20260817.0', 'fspick', NULL, '[]', NULL, '[]'), ('20260817.0', 'fstat', NULL, '[]', NULL, '[]'),
824
+ ('20260817.0', 'fstatfs', NULL, '[]', NULL, '[]'), ('20260817.0', 'fsync', NULL, '[]', NULL, '[]'),
825
+ ('20260817.0', 'ftruncate', NULL, '[]', NULL, '[]'), ('20260817.0', 'futex', NULL, '[]', NULL, '[]'),
826
+ ('20260817.0', 'futimesat', NULL, '[]', NULL, '[]'), ('20260817.0', 'get_kernel_syms', NULL, '[]', NULL, '[]'),
827
+ ('20260817.0', 'get_mempolicy', NULL, '[]', NULL, '[]'), ('20260817.0', 'get_robust_list', NULL, '[]', NULL, '[]'),
828
+ ('20260817.0', 'get_thread_area', NULL, '[]', NULL, '[]'), ('20260817.0', 'getcpu', NULL, '[]', NULL, '[]'),
829
+ ('20260817.0', 'getcwd', NULL, '[]', NULL, '[]'), ('20260817.0', 'getdents', NULL, '[]', NULL, '[]'),
830
+ ('20260817.0', 'getdents64', NULL, '[]', NULL, '[]'), ('20260817.0', 'getegid', NULL, '[]', NULL, '[]'),
831
+ ('20260817.0', 'geteuid', NULL, '[]', NULL, '[]'), ('20260817.0', 'getgid', NULL, '[]', NULL, '[]'),
832
+ ('20260817.0', 'getgroups', NULL, '[]', NULL, '[]'), ('20260817.0', 'getitimer', NULL, '[]', NULL, '[]'),
833
+ ('20260817.0', 'getpeername', NULL, '[]', NULL, '[]'), ('20260817.0', 'getpgid', NULL, '[]', NULL, '[]'),
834
+ ('20260817.0', 'getpgrp', NULL, '[]', NULL, '[]'), ('20260817.0', 'getpid', NULL, '[]', NULL, '[]'),
835
+ ('20260817.0', 'getpmsg', NULL, '[]', NULL, '[]'), ('20260817.0', 'getppid', NULL, '[]', NULL, '[]'),
836
+ ('20260817.0', 'getpriority', NULL, '[]', NULL, '[]'), ('20260817.0', 'getrandom', NULL, '[]', NULL, '[]'),
837
+ ('20260817.0', 'getresgid', NULL, '[]', NULL, '[]'), ('20260817.0', 'getresuid', NULL, '[]', NULL, '[]'),
838
+ ('20260817.0', 'getrlimit', NULL, '[]', NULL, '[]'), ('20260817.0', 'getrusage', NULL, '[]', NULL, '[]'),
839
+ ('20260817.0', 'getsid', NULL, '[]', NULL, '[]'), ('20260817.0', 'getsockname', NULL, '[]', NULL, '[]'),
840
+ ('20260817.0', 'getsockopt', NULL, '[]', NULL, '[]'), ('20260817.0', 'gettid', NULL, '[]', NULL, '[]'),
841
+ ('20260817.0', 'gettimeofday', NULL, '[]', NULL, '[]'), ('20260817.0', 'getuid', NULL, '[]', NULL, '[]'),
842
+ ('20260817.0', 'getxattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'init_module', NULL, '[]', NULL, '[]'),
843
+ ('20260817.0', 'inotify_add_watch', 'syscall/inotify_add_watch', '["fd_path"]', NULL, '[]'), ('20260817.0', 'inotify_init', 'syscall/inotify_init', '[]', NULL, '[]'),
844
+ ('20260817.0', 'inotify_init1', 'syscall/inotify_init1', '[]', NULL, '[]'), ('20260817.0', 'inotify_rm_watch', 'syscall/inotify_rm_watch', '["fd_path"]', NULL, '[]'),
845
+ ('20260817.0', 'io_cancel', NULL, '[]', NULL, '[]'), ('20260817.0', 'io_destroy', NULL, '[]', NULL, '[]'),
846
+ ('20260817.0', 'io_getevents', NULL, '[]', NULL, '[]'), ('20260817.0', 'io_pgetevents', NULL, '[]', NULL, '[]'),
847
+ ('20260817.0', 'io_setup', NULL, '[]', NULL, '[]'), ('20260817.0', 'io_submit', NULL, '[]', NULL, '[]'),
848
+ ('20260817.0', 'io_uring_enter', NULL, '[]', NULL, '[]'), ('20260817.0', 'io_uring_register', NULL, '[]', NULL, '[]'),
849
+ ('20260817.0', 'io_uring_setup', NULL, '[]', NULL, '[]'), ('20260817.0', 'ioctl', NULL, '[]', NULL, '[]'),
850
+ ('20260817.0', 'ioperm', NULL, '[]', NULL, '[]'), ('20260817.0', 'iopl', NULL, '[]', NULL, '[]'),
851
+ ('20260817.0', 'ioprio_get', NULL, '[]', NULL, '[]'), ('20260817.0', 'ioprio_set', NULL, '[]', NULL, '[]'),
852
+ ('20260817.0', 'kcmp', NULL, '[]', NULL, '[]'), ('20260817.0', 'kexec_file_load', NULL, '[]', NULL, '[]'),
853
+ ('20260817.0', 'kexec_load', NULL, '[]', NULL, '[]'), ('20260817.0', 'keyctl', NULL, '[]', NULL, '[]'),
854
+ ('20260817.0', 'kill', NULL, '[]', NULL, '[]'), ('20260817.0', 'lchown', NULL, '[]', NULL, '[]'),
855
+ ('20260817.0', 'lgetxattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'link', NULL, '[]', NULL, '[]'),
856
+ ('20260817.0', 'linkat', NULL, '[]', NULL, '[]'), ('20260817.0', 'listen', 'syscall/listen', '["fd_path"]', NULL, '[]'),
857
+ ('20260817.0', 'listxattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'llistxattr', NULL, '[]', NULL, '[]'),
858
+ ('20260817.0', 'lookup_dcookie', NULL, '[]', NULL, '[]'), ('20260817.0', 'lremovexattr', NULL, '[]', NULL, '[]'),
859
+ ('20260817.0', 'lseek', NULL, '[]', NULL, '[]'), ('20260817.0', 'lsetxattr', NULL, '[]', NULL, '[]'),
860
+ ('20260817.0', 'lstat', NULL, '[]', NULL, '[]'), ('20260817.0', 'madvise', NULL, '[]', NULL, '[]'),
861
+ ('20260817.0', 'mbind', NULL, '[]', NULL, '[]'), ('20260817.0', 'membarrier', NULL, '[]', NULL, '[]'),
862
+ ('20260817.0', 'memfd_create', NULL, '[]', NULL, '[]'), ('20260817.0', 'migrate_pages', NULL, '[]', NULL, '[]'),
863
+ ('20260817.0', 'mincore', NULL, '[]', NULL, '[]'), ('20260817.0', 'mkdir', NULL, '[]', NULL, '[]'),
864
+ ('20260817.0', 'mkdirat', NULL, '[]', 0, '[]'), ('20260817.0', 'mknod', NULL, '[]', NULL, '[]'),
865
+ ('20260817.0', 'mknodat', NULL, '[]', NULL, '[]'), ('20260817.0', 'mlock', NULL, '[]', NULL, '[]'),
866
+ ('20260817.0', 'mlock2', NULL, '[]', NULL, '[]'), ('20260817.0', 'mlockall', NULL, '[]', NULL, '[]'),
867
+ ('20260817.0', 'mmap', 'syscall/mmap', '["fd_path"]', NULL, '[]'), ('20260817.0', 'modify_ldt', NULL, '[]', NULL, '[]'),
868
+ ('20260817.0', 'mount', NULL, '[]', NULL, '[]'), ('20260817.0', 'move_mount', NULL, '[]', NULL, '[]'),
869
+ ('20260817.0', 'move_pages', NULL, '[]', NULL, '[]'), ('20260817.0', 'mprotect', NULL, '[]', NULL, '[]'),
870
+ ('20260817.0', 'mq_getsetattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'mq_notify', NULL, '[]', NULL, '[]'),
871
+ ('20260817.0', 'mq_open', NULL, '[]', NULL, '[]'), ('20260817.0', 'mq_timedreceive', NULL, '[]', NULL, '[]'),
872
+ ('20260817.0', 'mq_timedsend', NULL, '[]', NULL, '[]'), ('20260817.0', 'mq_unlink', NULL, '[]', NULL, '[]'),
873
+ ('20260817.0', 'mremap', NULL, '[]', NULL, '[]'), ('20260817.0', 'msgctl', NULL, '[]', NULL, '[]'),
874
+ ('20260817.0', 'msgget', NULL, '[]', NULL, '[]'), ('20260817.0', 'msgrcv', NULL, '[]', NULL, '[]'),
875
+ ('20260817.0', 'msgsnd', NULL, '[]', NULL, '[]'), ('20260817.0', 'msync', NULL, '[]', NULL, '[]'),
876
+ ('20260817.0', 'munlock', NULL, '[]', NULL, '[]'), ('20260817.0', 'munlockall', NULL, '[]', NULL, '[]'),
877
+ ('20260817.0', 'munmap', NULL, '[]', NULL, '[]'), ('20260817.0', 'name_to_handle_at', NULL, '[]', NULL, '[]'),
878
+ ('20260817.0', 'nanosleep', NULL, '[]', NULL, '[]'), ('20260817.0', 'newfstatat', NULL, '[]', NULL, '[]'),
879
+ ('20260817.0', 'nfsservctl', NULL, '[]', NULL, '[]'), ('20260817.0', 'open', 'syscall/open', '[]', NULL, '[]'),
880
+ ('20260817.0', 'open_by_handle_at', NULL, '[]', NULL, '[]'), ('20260817.0', 'open_tree', NULL, '[]', NULL, '[]'),
881
+ ('20260817.0', 'openat', 'syscall/openat', '["fd_path"]', 1, '["pathname", "result"]'), ('20260817.0', 'pause', NULL, '[]', NULL, '[]'),
882
+ ('20260817.0', 'perf_event_open', NULL, '[]', NULL, '[]'), ('20260817.0', 'personality', NULL, '[]', NULL, '[]'),
883
+ ('20260817.0', 'pidfd_getfd', NULL, '[]', NULL, '[]'), ('20260817.0', 'pidfd_open', NULL, '[]', NULL, '[]'),
884
+ ('20260817.0', 'pidfd_send_signal', NULL, '[]', NULL, '[]'), ('20260817.0', 'pipe', 'syscall/pipe', '[]', NULL, '[]'),
885
+ ('20260817.0', 'pipe2', 'syscall/pipe2', '[]', NULL, '[]'), ('20260817.0', 'pivot_root', NULL, '[]', NULL, '[]'),
886
+ ('20260817.0', 'pkey_alloc', NULL, '[]', NULL, '[]'), ('20260817.0', 'pkey_free', NULL, '[]', NULL, '[]'),
887
+ ('20260817.0', 'pkey_mprotect', NULL, '[]', NULL, '[]'), ('20260817.0', 'poll', NULL, '[]', NULL, '[]'),
888
+ ('20260817.0', 'ppoll', NULL, '[]', NULL, '[]'), ('20260817.0', 'prctl', NULL, '[]', NULL, '[]'),
889
+ ('20260817.0', 'pread64', 'syscall/pread64', '["fd_path"]', NULL, '[]'), ('20260817.0', 'preadv', 'syscall/preadv', '["fd_path"]', NULL, '[]'),
890
+ ('20260817.0', 'preadv2', 'syscall/preadv2', '["fd_path"]', NULL, '[]'), ('20260817.0', 'prlimit64', 'syscall/prlimit64', '[]', NULL, '[]'),
891
+ ('20260817.0', 'process_vm_readv', NULL, '[]', NULL, '[]'), ('20260817.0', 'process_vm_writev', NULL, '[]', NULL, '[]'),
892
+ ('20260817.0', 'pselect6', NULL, '[]', NULL, '[]'), ('20260817.0', 'ptrace', 'syscall/ptrace', '[]', NULL, '[]'),
893
+ ('20260817.0', 'putpmsg', NULL, '[]', NULL, '[]'), ('20260817.0', 'pwrite64', 'syscall/pwrite64', '["fd_path"]', NULL, '[]'),
894
+ ('20260817.0', 'pwritev', 'syscall/pwritev', '["fd_path"]', NULL, '[]'), ('20260817.0', 'pwritev2', 'syscall/pwritev2', '["fd_path"]', NULL, '[]'),
895
+ ('20260817.0', 'query_module', NULL, '[]', NULL, '[]'), ('20260817.0', 'quotactl', NULL, '[]', NULL, '[]'),
896
+ ('20260817.0', 'read', 'syscall/read', '["fd_path"]', NULL, '[]'), ('20260817.0', 'readahead', NULL, '[]', NULL, '[]'),
897
+ ('20260817.0', 'readlink', NULL, '[]', NULL, '[]'), ('20260817.0', 'readlinkat', NULL, '[]', NULL, '[]'),
898
+ ('20260817.0', 'readv', 'syscall/readv', '["fd_path"]', NULL, '[]'), ('20260817.0', 'reboot', NULL, '[]', NULL, '[]'),
899
+ ('20260817.0', 'recvfrom', NULL, '[]', NULL, '[]'), ('20260817.0', 'recvmmsg', NULL, '[]', NULL, '[]'),
900
+ ('20260817.0', 'recvmsg', NULL, '[]', NULL, '[]'), ('20260817.0', 'remap_file_pages', NULL, '[]', NULL, '[]'),
901
+ ('20260817.0', 'removexattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'rename', NULL, '[]', NULL, '[]'),
902
+ ('20260817.0', 'renameat', NULL, '[]', 0, '[]'), ('20260817.0', 'renameat2', NULL, '[]', 0, '[]'),
903
+ ('20260817.0', 'request_key', NULL, '[]', NULL, '[]'), ('20260817.0', 'restart_syscall', NULL, '[]', NULL, '[]'),
904
+ ('20260817.0', 'rmdir', NULL, '[]', NULL, '[]'), ('20260817.0', 'rseq', NULL, '[]', NULL, '[]'),
905
+ ('20260817.0', 'rt_sigaction', NULL, '[]', NULL, '[]'), ('20260817.0', 'rt_sigpending', NULL, '[]', NULL, '[]'),
906
+ ('20260817.0', 'rt_sigprocmask', NULL, '[]', NULL, '[]'), ('20260817.0', 'rt_sigqueueinfo', NULL, '[]', NULL, '[]'),
907
+ ('20260817.0', 'rt_sigreturn', NULL, '[]', NULL, '[]'), ('20260817.0', 'rt_sigsuspend', NULL, '[]', NULL, '[]'),
908
+ ('20260817.0', 'rt_sigtimedwait', NULL, '[]', NULL, '[]'), ('20260817.0', 'rt_tgsigqueueinfo', NULL, '[]', NULL, '[]'),
909
+ ('20260817.0', 'sched_get_priority_max', NULL, '[]', NULL, '[]'), ('20260817.0', 'sched_get_priority_min', NULL, '[]', NULL, '[]'),
910
+ ('20260817.0', 'sched_getaffinity', NULL, '[]', NULL, '[]'), ('20260817.0', 'sched_getattr', NULL, '[]', NULL, '[]'),
911
+ ('20260817.0', 'sched_getparam', NULL, '[]', NULL, '[]'), ('20260817.0', 'sched_getscheduler', NULL, '[]', NULL, '[]'),
912
+ ('20260817.0', 'sched_rr_get_interval', NULL, '[]', NULL, '[]'), ('20260817.0', 'sched_setaffinity', NULL, '[]', NULL, '[]'),
913
+ ('20260817.0', 'sched_setattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'sched_setparam', NULL, '[]', NULL, '[]'),
914
+ ('20260817.0', 'sched_setscheduler', NULL, '[]', NULL, '[]'), ('20260817.0', 'sched_yield', NULL, '[]', NULL, '[]'),
915
+ ('20260817.0', 'seccomp', NULL, '[]', NULL, '[]'), ('20260817.0', 'security', NULL, '[]', NULL, '[]'),
916
+ ('20260817.0', 'select', NULL, '[]', NULL, '[]'), ('20260817.0', 'semctl', NULL, '[]', NULL, '[]'),
917
+ ('20260817.0', 'semget', NULL, '[]', NULL, '[]'), ('20260817.0', 'semop', NULL, '[]', NULL, '[]'),
918
+ ('20260817.0', 'semtimedop', NULL, '[]', NULL, '[]'), ('20260817.0', 'sendfile', NULL, '[]', NULL, '[]'),
919
+ ('20260817.0', 'sendmmsg', NULL, '[]', NULL, '[]'), ('20260817.0', 'sendmsg', NULL, '[]', NULL, '[]'),
920
+ ('20260817.0', 'sendto', NULL, '[]', NULL, '[]'), ('20260817.0', 'set_mempolicy', NULL, '[]', NULL, '[]'),
921
+ ('20260817.0', 'set_robust_list', NULL, '[]', NULL, '[]'), ('20260817.0', 'set_thread_area', NULL, '[]', NULL, '[]'),
922
+ ('20260817.0', 'set_tid_address', NULL, '[]', NULL, '[]'), ('20260817.0', 'setdomainname', NULL, '[]', NULL, '[]'),
923
+ ('20260817.0', 'setfsgid', NULL, '[]', NULL, '[]'), ('20260817.0', 'setfsuid', NULL, '[]', NULL, '[]'),
924
+ ('20260817.0', 'setgid', 'syscall/setgid', '[]', NULL, '[]'), ('20260817.0', 'setgroups', NULL, '[]', NULL, '[]'),
925
+ ('20260817.0', 'sethostname', NULL, '[]', NULL, '[]'), ('20260817.0', 'setitimer', NULL, '[]', NULL, '[]'),
926
+ ('20260817.0', 'setns', NULL, '[]', NULL, '[]'), ('20260817.0', 'setpgid', NULL, '[]', NULL, '[]'),
927
+ ('20260817.0', 'setpriority', NULL, '[]', NULL, '[]'), ('20260817.0', 'setregid', NULL, '[]', NULL, '[]'),
928
+ ('20260817.0', 'setresgid', 'syscall/setresgid', '[]', NULL, '[]'), ('20260817.0', 'setresuid', 'syscall/setresuid', '[]', NULL, '[]'),
929
+ ('20260817.0', 'setreuid', NULL, '[]', NULL, '[]'), ('20260817.0', 'setrlimit', NULL, '[]', NULL, '[]'),
930
+ ('20260817.0', 'setsid', 'syscall/setsid', '[]', NULL, '[]'), ('20260817.0', 'setsockopt', NULL, '[]', NULL, '[]'),
931
+ ('20260817.0', 'settimeofday', NULL, '[]', NULL, '[]'), ('20260817.0', 'setuid', 'syscall/setuid', '[]', NULL, '[]'),
932
+ ('20260817.0', 'setxattr', NULL, '[]', NULL, '[]'), ('20260817.0', 'shmat', NULL, '[]', NULL, '[]'),
933
+ ('20260817.0', 'shmctl', NULL, '[]', NULL, '[]'), ('20260817.0', 'shmdt', NULL, '[]', NULL, '[]'),
934
+ ('20260817.0', 'shmget', NULL, '[]', NULL, '[]'), ('20260817.0', 'shutdown', NULL, '[]', NULL, '[]'),
935
+ ('20260817.0', 'sigaltstack', NULL, '[]', NULL, '[]'), ('20260817.0', 'signalfd', 'syscall/signalfd', '["fd_path"]', NULL, '[]'),
936
+ ('20260817.0', 'signalfd4', 'syscall/signalfd4', '["fd_path"]', NULL, '[]'), ('20260817.0', 'socket', 'syscall/socket', '[]', NULL, '[]'),
937
+ ('20260817.0', 'socketpair', 'syscall/socketpair', '[]', NULL, '[]'), ('20260817.0', 'splice', NULL, '[]', NULL, '[]'),
938
+ ('20260817.0', 'stat', NULL, '[]', NULL, '[]'), ('20260817.0', 'statfs', NULL, '[]', NULL, '[]'),
939
+ ('20260817.0', 'statx', NULL, '[]', NULL, '[]'), ('20260817.0', 'swapoff', NULL, '[]', NULL, '[]'),
940
+ ('20260817.0', 'swapon', NULL, '[]', NULL, '[]'), ('20260817.0', 'symlink', NULL, '[]', NULL, '[]'),
941
+ ('20260817.0', 'symlinkat', NULL, '[]', NULL, '[]'), ('20260817.0', 'sync', NULL, '[]', NULL, '[]'),
942
+ ('20260817.0', 'sync_file_range', NULL, '[]', NULL, '[]'), ('20260817.0', 'syncfs', NULL, '[]', NULL, '[]'),
943
+ ('20260817.0', 'sysctl', NULL, '[]', NULL, '[]'), ('20260817.0', 'sysfs', NULL, '[]', NULL, '[]'),
944
+ ('20260817.0', 'sysinfo', NULL, '[]', NULL, '[]'), ('20260817.0', 'syslog', NULL, '[]', NULL, '[]'),
945
+ ('20260817.0', 'tee', NULL, '[]', NULL, '[]'), ('20260817.0', 'tgkill', NULL, '[]', NULL, '[]'),
946
+ ('20260817.0', 'time', NULL, '[]', NULL, '[]'), ('20260817.0', 'timer_create', NULL, '[]', NULL, '[]'),
947
+ ('20260817.0', 'timer_delete', NULL, '[]', NULL, '[]'), ('20260817.0', 'timer_getoverrun', NULL, '[]', NULL, '[]'),
948
+ ('20260817.0', 'timer_gettime', NULL, '[]', NULL, '[]'), ('20260817.0', 'timer_settime', NULL, '[]', NULL, '[]'),
949
+ ('20260817.0', 'timerfd_create', 'syscall/timerfd_create', '[]', NULL, '[]'), ('20260817.0', 'timerfd_gettime', 'syscall/timerfd_gettime', '["fd_path"]', NULL, '[]'),
950
+ ('20260817.0', 'timerfd_settime', 'syscall/timerfd_settime', '["fd_path"]', NULL, '[]'), ('20260817.0', 'times', NULL, '[]', NULL, '[]'),
951
+ ('20260817.0', 'tkill', NULL, '[]', NULL, '[]'), ('20260817.0', 'truncate', NULL, '[]', NULL, '[]'),
952
+ ('20260817.0', 'tuxcall', NULL, '[]', NULL, '[]'), ('20260817.0', 'umask', NULL, '[]', NULL, '[]'),
953
+ ('20260817.0', 'umount2', NULL, '[]', NULL, '[]'), ('20260817.0', 'uname', NULL, '[]', NULL, '[]'),
954
+ ('20260817.0', 'unlink', NULL, '[]', NULL, '[]'), ('20260817.0', 'unlinkat', NULL, '[]', 0, '[]'),
955
+ ('20260817.0', 'unshare', NULL, '[]', NULL, '[]'), ('20260817.0', 'uselib', NULL, '[]', NULL, '[]'),
956
+ ('20260817.0', 'userfaultfd', NULL, '[]', NULL, '[]'), ('20260817.0', 'ustat', NULL, '[]', NULL, '[]'),
957
+ ('20260817.0', 'utime', NULL, '[]', NULL, '[]'), ('20260817.0', 'utimensat', NULL, '[]', NULL, '[]'),
958
+ ('20260817.0', 'utimes', NULL, '[]', NULL, '[]'), ('20260817.0', 'vfork', 'syscall/vfork', '[]', NULL, '[]'),
959
+ ('20260817.0', 'vhangup', NULL, '[]', NULL, '[]'), ('20260817.0', 'vmsplice', NULL, '[]', NULL, '[]'),
960
+ ('20260817.0', 'vserver', NULL, '[]', NULL, '[]'), ('20260817.0', 'wait4', NULL, '[]', NULL, '[]'),
961
+ ('20260817.0', 'waitid', NULL, '[]', NULL, '[]'), ('20260817.0', 'write', 'syscall/write', '["fd_path"]', NULL, '[]'),
962
+ ('20260817.0', 'writev', 'syscall/writev', '["fd_path"]', NULL, '[]');
963
+ -- END GENERATED coverage
964
+
965
+ -- `detail` is what gVisor can tell of a call: full (a typed point), number_only
966
+ -- (the number and six integers), or none (this gVisor release has no such call).
967
+ CREATE VIEW IF NOT EXISTS syscall_catalog_readable AS
968
+ SELECT s.syscall_name, s.description, s.group_id, g.label AS group_label,
969
+ s.category_id, c.label AS category,
970
+ s.default_impact_level, i.label AS impact_label,
971
+ s.classification_rule, s.required_evidence, s.interpretation_notes,
972
+ s.capture, s.capture_fields, s.effect_rule,
973
+ CASE WHEN v.syscall_name IS NULL THEN 'none' WHEN v.point IS NULL THEN 'number_only' ELSE 'full' END AS detail,
974
+ v.observed, s.catalog_version
975
+ FROM syscall_catalog AS s
976
+ JOIN syscall_groups AS g ON g.group_id = s.group_id
977
+ JOIN syscall_categories AS c ON c.category_id = s.category_id
978
+ LEFT JOIN syscall_impact_levels AS i ON i.level = s.default_impact_level
979
+ LEFT JOIN syscall_coverage AS v ON v.syscall_name = s.syscall_name;
980
+
981
+ COMMIT;
982
+
983
+ -- Example: SELECT syscall_name, category, default_impact_level, capture, detail
984
+ -- FROM syscall_catalog_readable WHERE syscall_name = 'unlinkat';
985
+ -- Result: unlinkat | Delete | 3 | watcher | number_only