Merge remote-tracking branch 'origin/pr/159'
This commit is contained in:
commit
3f62423765
|
@ -156,8 +156,8 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
|
|||
```
|
||||
|
||||
rlimits allow setting resource limits.
|
||||
The type is from the values defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
|
||||
The kernel enforces the soft limit for a resource while the hard limit acts as a ceiling for that value that could be set by an unprivileged process.
|
||||
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
|
||||
The kernel enforces the `soft` limit for a resource while the `hard` limit acts as a ceiling for that value that could be set by an unprivileged process.
|
||||
|
||||
## SELinux process label
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ type IDMapping struct {
|
|||
// Rlimit type and restrictions
|
||||
type Rlimit struct {
|
||||
// Type of the rlimit to set
|
||||
Type int `json:"type"`
|
||||
Type string `json:"type"`
|
||||
// Hard is the hard limit for the specified type
|
||||
Hard uint64 `json:"hard"`
|
||||
// Soft is the soft limit for the specified type
|
||||
|
|
Loading…
Reference in New Issue