From ce3ac33d770b5c62e01e778cba67346db57e48e9 Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 14 Sep 2016 13:18:16 -0700 Subject: [PATCH] Platform markers on Process struct Signed-off-by: John Howard --- specs-go/config.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index 74c53f091..f85965b4f 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -43,10 +43,9 @@ type Process struct { // Capabilities are Linux capabilities that are kept for the container. Capabilities []string `json:"capabilities,omitempty" platform:"linux"` // Rlimits specifies rlimit options to apply to the process. - Rlimits []Rlimit `json:"rlimits,omitempty"` + Rlimits []Rlimit `json:"rlimits,omitempty" platform:"linux"` // NoNewPrivileges controls whether additional privileges could be gained by processes in the container. - NoNewPrivileges bool `json:"noNewPrivileges,omitempty"` - + NoNewPrivileges bool `json:"noNewPrivileges,omitempty" platform:"linux"` // ApparmorProfile specifies the apparmor profile for the container. ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"` // SelinuxLabel specifies the selinux context that the container process is run as.