aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/acl/acl.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-19 15:51:56 +0900
committerOphestra <cat@gensokyo.uk>2026-10-19 15:51:56 +0900
commitcfad02947d33ed17a1857ab1b33c7fd44cad8dc9 (patch)
tree18553e0550ffd5d0c81a440a0d30daed1cdb646d /internal/acl/acl.go
parent58913f00845903aa2068f6cb0778baa563d58d14 (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/acl/acl.go')
-rw-r--r--internal/acl/acl.go4
1 files changed, 2 insertions, 2 deletions
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
}