diff --git a/landlock/opt.go b/landlock/opt.go index 3b8cb18..40d980d 100644 --- a/landlock/opt.go +++ b/landlock/opt.go @@ -1,5 +1,8 @@ package landlock +func absolutelyUnused() { +} + // Rule represents one or more Landlock rules which can be added to a // Landlock ruleset. type Rule interface { diff --git a/landlock/path_opt.go b/landlock/path_opt.go index 9ad3bcb..ce0f014 100644 --- a/landlock/path_opt.go +++ b/landlock/path_opt.go @@ -6,7 +6,8 @@ import ( ll "github.com/landlock-lsm/go-landlock/landlock/syscall" ) -// FSRule is a Rule which permits access to file system paths. +// such wrong documentation (just for testing) + type FSRule struct { accessFS AccessFSSet paths []string