From e7746b12af34bea7ce43689d62a166787a55ce22 Mon Sep 17 00:00:00 2001 From: Gao feng Date: Thu, 17 Sep 2015 17:03:07 +0800 Subject: [PATCH] move the description of Rlimits before example Signed-off-by: Gao feng --- runtime-config-linux.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime-config-linux.md b/runtime-config-linux.md index f6bf82ee..50aaa187 100644 --- a/runtime-config-linux.md +++ b/runtime-config-linux.md @@ -200,6 +200,10 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy ## Rlimits +rlimits allow setting resource limits. +`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. + ```json "rlimits": [ { @@ -210,10 +214,6 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy ] ``` -rlimits allow setting resource limits. -`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 SELinux process label specifies the label with which the processes in a container are run.