mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
parser: add error=EXX flag support
Add a flag that allows setting the error code AppArmor will send when an operation is denied. This should not be used normally. Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
@@ -960,6 +960,9 @@ void set_supported_features()
|
||||
features_supports_flag_signal = features_intersect(kernel_features,
|
||||
policy_features,
|
||||
"policy/profile/kill.signal");
|
||||
features_supports_flag_error = features_intersect(kernel_features,
|
||||
policy_features,
|
||||
"policy/profile/error");
|
||||
}
|
||||
|
||||
static bool do_print_cache_dir(aa_features *features, int dirfd, const char *path)
|
||||
|
Reference in New Issue
Block a user