Skip to content

Commit

Permalink
Merge pull request #564 from jhowardmsft/jjh/processplatformtags
Browse files Browse the repository at this point in the history
Platform annotations on `Process` struct
  • Loading branch information
Mrunal Patel authored Sep 20, 2016
2 parents 2239827 + ce3ac33 commit 7bce59f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7bce59f

Please sign in to comment.