Searched refs:layers (Results 1 – 3 of 3) sorted by relevance
/security/landlock/ |
D | ruleset.c | 73 const struct landlock_layer (*const layers)[], const u32 num_layers, in create_rule() argument 88 new_rule = kzalloc(struct_size(new_rule, layers, new_num_layers), in create_rule() 97 memcpy(new_rule->layers, layers, in create_rule() 98 flex_array_size(new_rule, layers, num_layers)); in create_rule() 101 new_rule->layers[new_rule->num_layers - 1] = *new_layer; in create_rule() 147 const struct landlock_layer (*const layers)[], in insert_rule() argument 156 if (WARN_ON_ONCE(!object || !layers)) in insert_rule() 177 if ((*layers)[0].level == 0) { in insert_rule() 184 if (WARN_ON_ONCE(this->layers[0].level != 0)) in insert_rule() 186 this->layers[0].access |= (*layers)[0].access; in insert_rule() [all …]
|
D | ruleset.h | 70 struct landlock_layer layers[]; member
|
D | fs.c | 241 &rule->layers[layer_level]; in unmask_layers()
|