]> www.infradead.org Git - users/jedix/linux-maple.git/commit
samples/landlock: Clarify option parsing behaviour
authorMatthieu Buffet <matthieu@buffet.re>
Sat, 19 Oct 2024 15:15:34 +0000 (17:15 +0200)
committerMickaël Salaün <mic@digikod.net>
Tue, 22 Oct 2024 18:43:43 +0000 (20:43 +0200)
commit53b9d789df983790015ef04b0283ac5a33917cad
treebb30d7ae94e5e0a5e0872e02580832ca973fc89f
parentf51e55a0892bd2030c847d4583c12498bb93f812
samples/landlock: Clarify option parsing behaviour

Clarify the distinction between filesystem variables (mandatory)
and all others (optional).

For optional variables, explain the difference between unset variables
(no access check performed) and empty variables (nothing allowed for
lists of allowed paths/ports, or no effect for lists of scopes).

List the known LL_SCOPED values and their effect.

Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
Link: https://lore.kernel.org/r/20241019151534.1400605-4-matthieu@buffet.re
[mic: Add a missing colon]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
samples/landlock/sandboxer.c