mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Commitc9d41a3ebb
introduced a regression on profile header generation. This commit removes the name parameter from the get_header function since the ProfileStorage should already contain all the information required to generate the header for profiles and hats. The tests needed to be updated as well to make sure the ProfileStorage object contained the information needed by the get_header method. Fixes:c9d41a3ebb
("utils: fix profile and hat header generation") Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
Known Bugs: Will allow multiple letters in the () due to translation/unicode issues with regexing the key. User input will probably bug out in a different locale.