Adds section for Linux Rlimits
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
92b590a760
commit
7f9d7d30bd
|
@ -104,7 +104,21 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
|
|||
}
|
||||
```
|
||||
|
||||
## Security
|
||||
## Linux rlimits
|
||||
|
||||
```
|
||||
"rlimits": [
|
||||
{
|
||||
"type": "RLIMIT_NOPROC"
|
||||
"soft": 1024,
|
||||
"hard": 102400
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
rlimits allow setting resource limits. The type is from one 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.
|
||||
|
||||
## Security
|
||||
|
||||
**TODO:** security profiles
|
||||
|
||||
|
|
Loading…
Reference in New Issue