[RFC PATCH v2 7/8] landlock: Add note about errors consistency in documentation

Mikhail Ivanov ivanov.mikhail1 at huawei-partners.com
Thu Oct 17 11:04:53 UTC 2024


Add recommendation to specify Landlock first in CONFIG_LSM list, so user
can have better LSM errors consistency provided by Landlock.

Signed-off-by: Mikhail Ivanov <ivanov.mikhail1 at huawei-partners.com>
---
 Documentation/userspace-api/landlock.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/userspace-api/landlock.rst b/Documentation/userspace-api/landlock.rst
index bb7480a05e2c..0db5eee9bffa 100644
--- a/Documentation/userspace-api/landlock.rst
+++ b/Documentation/userspace-api/landlock.rst
@@ -610,7 +610,8 @@ time as the other security modules.  The list of security modules enabled by
 default is set with ``CONFIG_LSM``.  The kernel configuration should then
 contains ``CONFIG_LSM=landlock,[...]`` with ``[...]``  as the list of other
 potentially useful security modules for the running system (see the
-``CONFIG_LSM`` help).
+``CONFIG_LSM`` help). It is recommended to specify Landlock first of all other
+modules in CONFIG_LSM list since it provides better errors consistency.
 
 Boot time configuration
 -----------------------
-- 
2.34.1




More information about the Linux-security-module-archive mailing list