aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/hsu.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-22 06:55:02 +0900
committerOphestra <cat@gensokyo.uk>2025-10-22 06:58:45 +0900
commit8accd3b2190d0527ec0d848c877b1a68abaac28c (patch)
tree831d6ce88a4d461fd7c37165dbd1bb1549bf8092 /internal/app/hsu.go
parentc5f59c5488cc529a5a7c7a89e1da56c2b44db16c (diff)
internal/app/shim: use syscall dispatcher
This enables instrumented testing of the shim. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/hsu.go')
-rw-r--r--internal/app/hsu.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/app/hsu.go b/internal/app/hsu.go
index cae56c88..1286249a 100644
--- a/internal/app/hsu.go
+++ b/internal/app/hsu.go
@@ -21,7 +21,9 @@ type Hsu struct {
id int
kOnce sync.Once
- k syscallDispatcher
+
+ // msg is not populated
+ k syscallDispatcher
}
var ErrHsuAccess = errors.New("current user is not in the hsurc file")