You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
landlock: Update various code to use landlock_domain
- Replace domain in landlock_cred with landlock_domain.
- Replace landlock_merge_ruleset with landlock_domain_merge_ruleset.
- Pull landlock_put_hierarchy out of domain.h.
This allows domain.h to not depend on audit.h, as audit.h -> cred.h will
need to depend on domain.h instead of ruleset.h after changing it to use
the new domain struct.
- Update uses of landlock_ruleset-domains to landlock_domain
checkpath seems to not like the `layer_mask_t (*const layer_masks)[]` argument:
WARNING: function definition argument 'layer_mask_t' should also have an identifier name
torvalds#171: FILE: security/landlock/domain.h:397:
+bool landlock_unmask_layers(const struct landlock_found_rule rule,
WARNING: function definition argument 'layer_mask_t' should also have an identifier name
torvalds#176: FILE: security/landlock/domain.h:402:
+access_mask_t
Signed-off-by: Tingmao Wang <m@maowtm.org>
0 commit comments