mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
Include abi/4.0 when creating a new profile
... with aa-genprof or aa-autodep Fixes: https://gitlab.com/apparmor/apparmor/-/issues/392
This commit is contained in:
@@ -547,8 +547,8 @@ def autodep(bin_name, pname=''):
|
||||
|
||||
active_profiles.add_profile(file, pname, attachment)
|
||||
|
||||
if os.path.isfile(profile_dir + '/abi/3.0'):
|
||||
active_profiles.add_abi(file, AbiRule('abi/3.0', False, True))
|
||||
if os.path.isfile(profile_dir + '/abi/4.0'):
|
||||
active_profiles.add_abi(file, AbiRule('abi/4.0', False, True))
|
||||
if os.path.isfile(profile_dir + '/tunables/global'):
|
||||
active_profiles.add_inc_ie(file, IncludeRule('tunables/global', False, True))
|
||||
write_profile_ui_feedback(pname)
|
||||
|
Reference in New Issue
Block a user