diff options
author | Mickaël Salaün <[email protected]> | 2024-11-09 12:08:56 +0100 |
---|---|---|
committer | Mickaël Salaün <[email protected]> | 2024-11-09 19:52:13 +0100 |
commit | 03197e40a22c2641a1f9d1744418cd29f4954b83 (patch) | |
tree | be23d85a4e8a2e16945784a55fc9af2f4f88c625 /lib/memory-notifier-error-inject.c | |
parent | 8376226e5f53e78cd16a2b23577304e43acb3ba4 (diff) |
landlock: Optimize scope enforcement
Do not walk through the domain hierarchy when the required scope is not
supported by this domain. This is the same approach as for filesystem
and network restrictions.
Cc: Mikhail Ivanov <[email protected]>
Cc: Tahera Fahimi <[email protected]>
Reviewed-by: Günther Noack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions