Adds section for Linux Rlimits

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2015-06-30 18:02:58 -04:00
parent 92b590a760
commit 7f9d7d30bd
1 changed files with 15 additions and 1 deletions

View File

@ -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