summaryrefslogtreecommitdiff
path: root/security/landlock/ruleset.h
diff options
context:
space:
mode:
authorKonstantin Meskhidze <konstantin.meskhidze@huawei.com>2023-10-26 04:47:43 +0300
committerMickaël Salaün <mic@digikod.net>2023-10-26 22:07:12 +0300
commit6146b6141770206792d0e1155794cc48697c7985 (patch)
tree019e923c6287b21900b3de0f802cc02506b180ad /security/landlock/ruleset.h
parenta4ac404b3032562ed6a34232b5266d0f446dd799 (diff)
downloadlinux-6146b6141770206792d0e1155794cc48697c7985.tar.xz
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/landlock/ruleset.h')
0 files changed, 0 insertions, 0 deletions