From 76d38f5cfbb1737b7edf2164b5e8c4878858288c Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 14 Jul 2021 23:44:18 +0200 Subject: [PATCH] Try to reword --- _posts/2021-07-14-lxc-drop-capsysadmin.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_posts/2021-07-14-lxc-drop-capsysadmin.md b/_posts/2021-07-14-lxc-drop-capsysadmin.md index f0d0fed..6726cd4 100644 --- a/_posts/2021-07-14-lxc-drop-capsysadmin.md +++ b/_posts/2021-07-14-lxc-drop-capsysadmin.md @@ -100,7 +100,7 @@ Indeed, the following directive will do nothing: lxc.mount.entry = cgroup:mixed ``` -Here is why in the code: +Here is a fragment of the function that handle the previous directive, we directly exit the function before running anything when cgroup namespaces are supported: ```c /* @@ -111,8 +111,8 @@ static bool cgfsng_mount(void *hdata, const char *root, int type) { /* some initializations */ if (cgns_supported()) - return true; - /* rest of the function */ + return true; /* we exit the function here */ + /* rest of the function that will never be executed */ } ```