File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,12 @@ type Process struct {
4040 // Cwd is the current working directory for the process and must be
4141 // relative to the container's root.
4242 Cwd string `json:"cwd"`
43- // Capabilities are Linux capabilities that are kept for the container.
43+ // Capabilities are Linux capabilities that are kept for the container. (this field is platform dependent)
4444 Capabilities []string `json:"capabilities,omitempty" platform:"linux"`
45- // Rlimits specifies rlimit options to apply to the process.
46- Rlimits []Rlimit `json:"rlimits,omitempty"`
47- // NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
48- NoNewPrivileges bool `json:"noNewPrivileges,omitempty"`
49-
45+ // Rlimits specifies rlimit options to apply to the process. (this field is platform dependent)
46+ Rlimits []Rlimit `json:"rlimits,omitempty" platform:"linux,solaris"`
47+ // NoNewPrivileges controls whether additional privileges could be gained by processes in the container. (this field is platform dependent)
48+ NoNewPrivileges bool `json:"noNewPrivileges,omitempty" platform:"linux,solaris"`
5049 // ApparmorProfile specifies the apparmor profile for the container. (this field is platform dependent)
5150 ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"`
5251 // SelinuxLabel specifies the selinux context that the container process is run as. (this field is platform dependent)
You can’t perform that action at this time.
0 commit comments