diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-10 23:56:45 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-10 23:56:45 +0900 |
| commit | b39064037625d1757a65913086ec3a247ad5bb29 (patch) | |
| tree | 7fd59329e779e195aaadab8846996844e5f45974 /internal/pkg/pkg_test.go | |
| parent | ad2c9f36cddfd8adcd06fbe9238d176a8eb89614 (diff) | |
internal/landlock: relocate from package container
This is not possible to use directly, so remove it from the public API.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/pkg_test.go')
| -rw-r--r-- | internal/pkg/pkg_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go index e1deaf3d..b2a5dfbc 100644 --- a/internal/pkg/pkg_test.go +++ b/internal/pkg/pkg_test.go @@ -25,6 +25,7 @@ import ( "hakurei.app/container" "hakurei.app/fhs" "hakurei.app/internal/info" + "hakurei.app/internal/landlock" "hakurei.app/internal/pkg" "hakurei.app/internal/stub" "hakurei.app/message" @@ -293,7 +294,7 @@ func checkWithCache(t *testing.T, testCases []cacheTestCase) { flags := tc.flags if info.CanDegrade { - if _, err := container.LandlockGetABI(); err != nil { + if _, err := landlock.GetABI(); err != nil { if !errors.Is(err, syscall.ENOSYS) { t.Fatalf("LandlockGetABI: error = %v", err) } |
