]> git.baikalelectronics.ru Git - kernel.git/commit
landlock: Fix landlock_add_rule(2) documentation
authorMickaël Salaün <mic@digikod.net>
Fri, 6 May 2022 16:08:11 +0000 (18:08 +0200)
committerMickaël Salaün <mic@digikod.net>
Mon, 23 May 2022 11:27:47 +0000 (13:27 +0200)
commit6af1f5a7c7d5fc3f58c33ba1e2e90ebbbd9df65f
treedd9f8dc52516a1a20c4b8feb9d885934048e0190
parent877a473a603f0fca62a06b389dcedfe2d807664b
landlock: Fix landlock_add_rule(2) documentation

It is not mandatory to pass a file descriptor obtained with the O_PATH
flag.  Also, replace rule's accesses with ruleset's accesses.

Link: https://lore.kernel.org/r/20220506160820.524344-2-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
include/uapi/linux/landlock.h
security/landlock/syscalls.c