From cfad02947d33ed17a1857ab1b33c7fd44cad8dc9 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 19 Oct 2026 15:51:56 +0900 Subject: ext: add additional constants This removes the syscall cutoff thresholds, instead declaring all syscall number constants in package ext. This also removes two constants from package container which were inadvertently exported for 386 and amd64. Signed-off-by: Ophestra --- internal/acl/acl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/acl/acl.go') diff --git a/internal/acl/acl.go b/internal/acl/acl.go index 8b862ba2..d5b53095 100644 --- a/internal/acl/acl.go +++ b/internal/acl/acl.go @@ -11,7 +11,7 @@ import "C" import ( "os" - "hakurei.app/container" + "hakurei.app/ext" ) // Perm represents acl_perm_t. @@ -88,7 +88,7 @@ func (e Error) Error() string { // Update replaces ACL_USER entry with qualifier uid. func Update(name string, uid int, perms Perm) error { - f, _err := os.OpenFile(name, container.O_PATH, 0) + f, _err := os.OpenFile(name, ext.O_PATH, 0) if _err != nil { return _err } -- cgit v1.3.1