]> www.infradead.org Git - users/jedix/linux-maple.git/commit
landlock: Prepare to use credential instead of domain for scope
authorMickaël Salaün <mic@digikod.net>
Thu, 20 Mar 2025 19:06:55 +0000 (20:06 +0100)
committerMickaël Salaün <mic@digikod.net>
Wed, 26 Mar 2025 12:59:36 +0000 (13:59 +0100)
commit8d20efa9dc6cb471b71fd388923753f767ab13ce
treee65122aa03fab808f33f97b0580f641ddcc2e5ee
parent93f33f0cb2f0a4bc029912ac3e33ccf2034dc5c2
landlock: Prepare to use credential instead of domain for scope

This cosmetic change that is needed for audit support, specifically to
be able to filter according to cross-execution boundaries.

Replace hardcoded LANDLOCK_SCOPE_SIGNAL with the signal_scope.scope
variable.

Use scoped guards for RCU read-side critical sections.

Cc: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20250320190717.2287696-7-mic@digikod.net
[mic: Update headers]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
security/landlock/task.c