mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
parser: add kill.signal=XXX flag support
Add a flag that allows setting the signal used to kill the process. This should not be normally used but can be very useful when debugging applications, interaction with apparmor. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
@@ -954,6 +954,9 @@ void set_supported_features()
|
||||
features_supports_flag_interruptible = features_intersect(kernel_features,
|
||||
policy_features,
|
||||
"policy/profile/interruptible");
|
||||
features_supports_flag_signal = features_intersect(kernel_features,
|
||||
policy_features,
|
||||
"policy/profile/kill.signal");
|
||||
}
|
||||
|
||||
static bool do_print_cache_dir(aa_features *features, int dirfd, const char *path)
|
||||
|
Reference in New Issue
Block a user