]> www.infradead.org Git - users/jedix/linux-maple.git/commit
landlock: Move domain hierarchy management
authorMickaël Salaün <mic@digikod.net>
Thu, 20 Mar 2025 19:06:52 +0000 (20:06 +0100)
committerMickaël Salaün <mic@digikod.net>
Wed, 26 Mar 2025 12:59:34 +0000 (13:59 +0100)
commit5b95b329befaf18020a0d3cd0223a90bd230eeb9
tree704e85371612460bb94623b64e2fb9bf6f748d37
parentd9d2a68ed44bbae598a81cb95e0746fa6b13b57f
landlock: Move domain hierarchy management

Create a new domain.h file containing the struct landlock_hierarchy
definition and helpers.  This type will grow with audit support.  This
also prepares for a new domain type.

Cc: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20250320190717.2287696-4-mic@digikod.net
Reviewed-by: Günther Noack <gnoack3000@gmail.com>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
security/landlock/domain.h [new file with mode: 0644]
security/landlock/ruleset.c
security/landlock/ruleset.h
security/landlock/task.c