Enable automated marshalling for the syscall package.

PiperOrigin-RevId: 331940975
This commit is contained in:
Rahat Mahmood
2020-09-15 23:38:57 -07:00
committed by gVisor bot
parent dcd532e2e4
commit d201feb8c5
75 changed files with 470 additions and 414 deletions
+1
View File
@@ -57,6 +57,7 @@ go_library(
"id_map_set.go",
"user_namespace.go",
],
marshal = True,
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
+4
View File
@@ -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