summaryrefslogtreecommitdiff
path: root/internal/generate/classify.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-21 18:02:16 +0300
committerPaul Buetow <paul@buetow.org>2026-05-21 18:02:16 +0300
commitd29bdc79feb118dcbc27a4aa4a0bd14216b1664e (patch)
treeaf28c263a813a5114f06641a34a7ac8da3144ebe /internal/generate/classify.go
parent1a0f4086b0dff03eebcc22f1b5522cc1a9c25643 (diff)
o7 classify landlock add-rule and restrict-self as fd
Diffstat (limited to 'internal/generate/classify.go')
-rw-r--r--internal/generate/classify.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/generate/classify.go b/internal/generate/classify.go
index e42d4a0..5660eb1 100644
--- a/internal/generate/classify.go
+++ b/internal/generate/classify.go
@@ -257,6 +257,10 @@ func classifyNameOnly(name string) (ClassificationResult, bool) {
return ClassificationResult{Kind: KindEventfd}, true
case "sys_exit_landlock_create_ruleset":
return ClassificationResult{Kind: KindEventfd}, true
+ case "sys_enter_landlock_add_rule":
+ return ClassificationResult{Kind: KindFd}, true
+ case "sys_enter_landlock_restrict_self":
+ return ClassificationResult{Kind: KindFd}, true
case "sys_enter_fsopen":
return ClassificationResult{Kind: KindEventfd}, true
case "sys_exit_fsopen":