As pointed out by Mickaël Salaün in https://lore.kernel.org/linux-man/5d90e3b0-1577-7efd-03b8-f94b6e50fbc1@xxxxxxxxxxx/ Signed-off-by: Günther Noack <gnoack3000@xxxxxxxxx> --- man7/landlock.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man7/landlock.7 b/man7/landlock.7 index 16feef42c..fc4a95031 100644 --- a/man7/landlock.7 +++ b/man7/landlock.7 @@ -445,7 +445,7 @@ __u64 landlock_fs_access_rights[] = { int abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); -if (abi <= 0) { +if (abi == \-1) { /* * Kernel too old, not compiled with Landlock, * or Landlock was not enabled at boot time. -- 2.40.0