diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-19 16:15:18 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-19 16:15:18 +0300 |
| commit | 843def4f5c23db050cccfae57a9acb5899c110f4 (patch) | |
| tree | d90d94c39ff59c7df7278f29f5402c58c391daec /internal/generate/classify.go | |
| parent | 061fb2b2380752eed06a78d10567da172ea8e27c (diff) | |
x6: add pipe/eventfd fd-from-air syscall support
Diffstat (limited to 'internal/generate/classify.go')
| -rw-r--r-- | internal/generate/classify.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/generate/classify.go b/internal/generate/classify.go index 4f6d14c..0bc00b3 100644 --- a/internal/generate/classify.go +++ b/internal/generate/classify.go @@ -18,6 +18,8 @@ const ( KindSocket KindSocketpair KindAccept + KindPipe + KindEventfd ) type RetClassification string @@ -96,6 +98,22 @@ func classifyNameOnly(name string) (ClassificationResult, bool) { return ClassificationResult{Kind: KindAccept}, true case "sys_exit_accept4": return ClassificationResult{Kind: KindAccept}, true + case "sys_enter_pipe": + return ClassificationResult{Kind: KindPipe}, true + case "sys_exit_pipe": + return ClassificationResult{Kind: KindPipe}, true + case "sys_enter_pipe2": + return ClassificationResult{Kind: KindPipe}, true + case "sys_exit_pipe2": + return ClassificationResult{Kind: KindPipe}, true + case "sys_enter_eventfd": + return ClassificationResult{Kind: KindEventfd}, true + case "sys_exit_eventfd": + return ClassificationResult{Kind: KindEventfd}, true + case "sys_enter_eventfd2": + return ClassificationResult{Kind: KindEventfd}, true + case "sys_exit_eventfd2": + return ClassificationResult{Kind: KindEventfd}, true case "sys_enter_bind": return ClassificationResult{Kind: KindFd}, true case "sys_enter_connect": |
