2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-02 07:15:18 +00:00

parser: add support for attach_disconnected.ipc flag

The attach_disconnected.ipc flag allows the use of disconnected paths
on posix mqueues. This flag is a subset of attach_disconnected, and it
does not allow disconnected paths for all files.

Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
Georgia Garcia
2025-02-25 19:18:58 -03:00
parent 2afdf1b214
commit d9b3603f48
8 changed files with 68 additions and 15 deletions

View File

@@ -991,6 +991,9 @@ void set_supported_features()
features_supports_flag_error = features_intersect(kernel_features,
policy_features,
"policy/profile/error");
features_supports_flag_disconnected_ipc = features_intersect(kernel_features,
policy_features,
"domain/disconnected.ipc");
}
static bool do_print_cache_dir(aa_features *features, int dirfd, const char *path)