From d29bdc79feb118dcbc27a4aa4a0bd14216b1664e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 21 May 2026 18:02:16 +0300 Subject: o7 classify landlock add-rule and restrict-self as fd --- internal/generate/classify.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/generate/classify.go') 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": -- cgit v1.2.3