2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

parser: add support for user namespace creation

Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
Georgia Garcia
2022-09-29 17:40:18 -03:00
parent 18d1b06b0c
commit f400b41c4a
12 changed files with 238 additions and 7 deletions

View File

@@ -941,6 +941,9 @@ void set_supported_features()
features_supports_domain_xattr = features_intersect(kernel_features,
policy_features,
"domain/attach_conditions/xattr");
features_supports_userns = features_intersect(kernel_features,
policy_features,
"namespaces/mask/userns_create");
}
static bool do_print_cache_dir(aa_features *features, int dirfd, const char *path)