]> www.infradead.org Git - users/jedix/linux-maple.git/commit
landlock: Fix documentation for landlock_create_ruleset(2)
authorMickaël Salaün <mic@digikod.net>
Wed, 16 Apr 2025 15:47:11 +0000 (17:47 +0200)
committerMickaël Salaün <mic@digikod.net>
Thu, 17 Apr 2025 09:09:07 +0000 (11:09 +0200)
commit50492f942c281af4a48f8028f8409d7b8f2655d9
tree4e30321d0ce07829d522e6dbd0889f2175ffe076
parent6b4566400a2919e6c1137404c53d7cf1ada559aa
landlock: Fix documentation for landlock_create_ruleset(2)

Move and fix the flags documentation, and improve formatting.

It makes more sense and it eases maintenance to document syscall flags
in landlock.h, where they are defined.  This is already the case for
landlock_restrict_self(2)'s flags.

The flags are now rendered like the syscall's parameters and
description.

Cc: Günther Noack <gnoack@google.com>
Cc: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/20250416154716.1799902-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
include/uapi/linux/landlock.h
security/landlock/syscalls.c