[PATCH] Another one
Tingmao Wang
m at maowtm.org
Mon Jun 2 13:41:49 UTC 2025
Hi Mickaël, here is another one which I found would have been helpful to
me when reading this. You can squash this with the earlier patch.
Signed-off-by: Tingmao Wang <m at maowtm.org>
---
security/landlock/fs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/security/landlock/fs.c b/security/landlock/fs.c
index 6fee7c20f64d..9396d2d9df40 100644
--- a/security/landlock/fs.c
+++ b/security/landlock/fs.c
@@ -714,7 +714,8 @@ static void test_is_eacces_with_write(struct kunit *const test)
* is_access_to_paths_allowed - Check accesses for requests with a common path
*
* @domain: Domain to check against.
- * @path: File hierarchy to walk through.
+ * @path: File hierarchy to walk through. For refer checks, this would be
+ * the common mountpoint.
* @access_request_parent1: Accesses to check, once @layer_masks_parent1 is
* equal to @layer_masks_parent2 (if any). This is tied to the unique
* requested path for most actions, or the source in case of a refer action
--
2.49.0
More information about the Linux-security-module-archive
mailing list