diff options
author | Konstantin Meskhidze <konstantin.meskhidze@huawei.com> | 2023-10-26 03:47:43 +0200 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2023-10-26 21:07:12 +0200 |
commit | 6146b6141770206792d0e1155794cc48697c7985 (patch) | |
tree | 019e923c6287b21900b3de0f802cc02506b180ad /security/lockdown/lockdown.c | |
parent | landlock: Refactor landlock_find_rule/insert_rule helpers (diff) | |
download | linux-6146b6141770206792d0e1155794cc48697c7985.tar.xz linux-6146b6141770206792d0e1155794cc48697c7985.zip |
landlock: Refactor merge/inherit_ruleset helpers
Refactor merge_ruleset() and inherit_ruleset() functions to support new
rule types. Add merge_tree() and inherit_tree() helpers. They use a
specific ruleset's red-black tree according to a key type argument.
Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com>
Link: https://lore.kernel.org/r/20231026014751.414649-5-konstantin.meskhidze@huawei.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'security/lockdown/lockdown.c')
0 files changed, 0 insertions, 0 deletions