From a402b7ae4ee3ee8d4e2afef054e57cf7775ad33a Mon Sep 17 00:00:00 2001 From: lizf-os Date: Wed, 1 Jul 2015 10:25:46 +0800 Subject: [PATCH] Fix typos in the rlimits section Signed-off-by: Zefan Li --- config-linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-linux.md b/config-linux.md index 60b0d709..10c46aae 100644 --- a/config-linux.md +++ b/config-linux.md @@ -109,14 +109,14 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy ``` "rlimits": [ { - "type": "RLIMIT_NOPROC" + "type": "RLIMIT_NPROC", "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. +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. ## Security