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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user