Affected by GO-2022-0390
and 1 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914: Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
package
Version:
v1.9.1-rc1
Opens a new window with list of versions in this module.
Published: Nov 12, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ulimit provides structure and helper function to parse and represent
resource limits (Rlimit and Ulimit, its human friendly version).
type Rlimit struct {
Type int `json:"type,omitempty"`
Hard uint64 `json:"hard,omitempty"`
Soft uint64 `json:"soft,omitempty"`
}
Rlimit specifies the resource limits, such as max open files.
Ulimit is a human friendly version of Rlimit.
Parse parses and returns a Ulimit from the specified string.
GetRlimit returns the RLimit corresponding to Ulimit.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.