Home
last modified time | relevance | path

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

/linux-6.1.9/security/landlock/
Druleset.c68 BUILD_BUG_ON(rule.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_rule()
82 if (WARN_ON_ONCE(num_layers >= LANDLOCK_MAX_NUM_LAYERS)) in create_rule()
123 BUILD_BUG_ON(ruleset.num_layers < LANDLOCK_MAX_NUM_LAYERS); in build_check_ruleset()
226 BUILD_BUG_ON(layer.level < LANDLOCK_MAX_NUM_LAYERS); in build_check_layer()
415 if (parent->num_layers >= LANDLOCK_MAX_NUM_LAYERS) in landlock_merge_ruleset()
Dlimits.h18 #define LANDLOCK_MAX_NUM_LAYERS 16 macro
Druleset.h30 static_assert(BITS_PER_TYPE(layer_mask_t) >= LANDLOCK_MAX_NUM_LAYERS);