Home
last modified time | relevance | path

Searched refs:LANDLOCK_MAX_NUM_LAYERS (Results 1 – 3 of 3) sorted by relevance

/linux/security/landlock/
H A Druleset.c81 BUILD_BUG_ON(rule.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_rule()
112 if (WARN_ON_ONCE(num_layers >= LANDLOCK_MAX_NUM_LAYERS)) in create_rule()
177 BUILD_BUG_ON(ruleset.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_ruleset()
288 BUILD_BUG_ON(layer.level < LANDLOCK_MAX_NUM_LAYERS); in build_check_layer()
549 if (parent->num_layers >= LANDLOCK_MAX_NUM_LAYERS) in landlock_merge_ruleset()
H A Dlimits.h18 #define LANDLOCK_MAX_NUM_LAYERS 16 macro
H A Druleset.h62 static_assert(BITS_PER_TYPE(layer_mask_t) >= LANDLOCK_MAX_NUM_LAYERS);