aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/man2/landlock_add_rule.210
1 files changed, 10 insertions, 0 deletions
diff --git a/man/man2/landlock_add_rule.2 b/man/man2/landlock_add_rule.2
index fa0b1f109d..7a83bb3035 100644
--- a/man/man2/landlock_add_rule.2
+++ b/man/man2/landlock_add_rule.2
@@ -101,6 +101,16 @@ The rule accesses are inconsistent (i.e.,
.I rule_attr\->allowed_access
is not a subset of the ruleset handled accesses).
.TP
+.B EINVAL
+In
+.IR \%struct\~landlock_path_beneath_attr ,
+the rule accesses are not applicable to the file
+(i.e., some access rights in
+.I \%rule_attr\->allowed_access
+are only applicable to directories, but
+.I \%rule_attr\->parent_fd
+does not refer to a directory).
+.TP
.B ENOMSG
Empty accesses (i.e.,
.I rule_attr\->allowed_access