linux: wrap fsu lookup error

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-18 17:36:58 +09:00
parent d0400f3c81
commit 2c9c7fee5b
6 changed files with 40 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ type System interface {
// Paths returns a populated [Paths] struct.
Paths() Paths
// Uid invokes fsu and returns target uid.
// Any errors returned by Uid is already wrapped [fmsg.BaseError].
Uid(aid int) (int, error)
}