2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 13:28:19 +00:00

Fix crash in serialize_profile_from_old_profile()

The crash was caused by the more strict ProfileStorage in bzr trunk
(older versions use hasher() which is more forgiving, but also very
 "useful" to hide quite some bugs)


Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
Goldwyn Rodrigues 2017-10-25 21:54:57 +02:00 committed by Christian Boltz
parent 881cf7bddc
commit 4961fcb6ba

View File

@ -2997,11 +2997,11 @@ def serialize_profile_from_old_profile(profile_data, name, options):
'capability': False,
'network': False,
'dbus': False,
'mount': True, # not handled otherwise yet
'mount': False,
'signal': True, # not handled otherwise yet
'ptrace': True, # not handled otherwise yet
'pivot_root': True, # not handled otherwise yet
'unix': True, # not handled otherwise yet
'pivot_root': False,
'unix': False,
'link': False,
'file': False,
'change_profile': False,