Skip to content

Commit 15f5fd6

Browse files
committed
specs-go/config: Make Process.Rlimits POSIX-specific
Signed-off-by: W. Trevor King <wking@tremily.us>
1 parent bbe3159 commit 15f5fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type Process struct {
4747
// Capabilities are Linux capabilities that are kept for the process.
4848
Capabilities *LinuxCapabilities `json:"capabilities,omitempty" platform:"linux"`
4949
// Rlimits specifies rlimit options to apply to the process.
50-
Rlimits []Rlimit `json:"rlimits,omitempty"`
50+
Rlimits []Rlimit `json:"rlimits,omitempty" platform:"linux,solaris"`
5151
// NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
5252
NoNewPrivileges bool `json:"noNewPrivileges,omitempty" platform:"linux"`
5353
// ApparmorProfile specifies the apparmor profile for the container.

0 commit comments

Comments
 (0)