diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-22 06:55:02 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-22 06:58:45 +0900 |
| commit | 8accd3b2190d0527ec0d848c877b1a68abaac28c (patch) | |
| tree | 831d6ce88a4d461fd7c37165dbd1bb1549bf8092 /internal/app/hsu.go | |
| parent | c5f59c5488cc529a5a7c7a89e1da56c2b44db16c (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.go | 4 |
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") |
