summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/auth/id.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/auth/id.go')
-rw-r--r--pkg/sentry/kernel/auth/id.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/auth/id.go b/pkg/sentry/kernel/auth/id.go
index 0a58ba17c..4c32ee703 100644
--- a/pkg/sentry/kernel/auth/id.go
+++ b/pkg/sentry/kernel/auth/id.go
@@ -19,9 +19,13 @@ import (
)
// UID is a user ID in an unspecified user namespace.
+//
+// +marshal
type UID uint32
// GID is a group ID in an unspecified user namespace.
+//
+// +marshal slice:GIDSlice
type GID uint32
// In the root user namespace, user/group IDs have a 1-to-1 relationship with