apparmor/utils/apparmor
Christian Boltz 68396e9ae5
Avoid crash on exec without log events for target profile
If an exec gets denied in enforce mode, there are no log events for the
target binary/profile. Therefore, trying to set the final_name for the
target will crash with a KeyError.

Check for the existence of hashlog[aamode][target_profile] in all exec
options to prevent this crash.
2020-09-27 15:05:12 +02:00
..
rule drop now unused get_include_path() 2020-06-05 20:02:33 +02:00
__init__.py Due to wanting to support additional external apparmor python modules, 2014-09-15 12:18:16 -07:00
aa.py Avoid crash on exec without log events for target profile 2020-09-27 15:05:12 +02:00
aare.py [28/38] AARE: let match() handle plain path regexes as non-regex 2016-10-01 20:07:17 +02:00
cleanprofile.py Change internal include file storage to absolute paths 2020-06-05 19:58:09 +02:00
common.py move is_skippable_file() from aa.py to common.py 2020-05-20 18:54:53 +02:00
config.py Use os.path.join() everywhere 2020-06-28 13:00:32 +02:00
easyprof.py drop unused cmd_pipe() from easyprof.py 2020-04-13 14:08:54 +02:00
fail.py docs: update documentation to point bug reporting to gitlab 2020-05-05 00:10:53 -07:00
logparser.py Add change_profile support to aa-logprof 2020-09-20 17:07:18 +02:00
profile_list.py Drop profile_dir parameter from ProfileList get_all_merged_variables() 2020-06-05 20:02:33 +02:00
profile_storage.py add_or_remove_flag(): allow to add or remove multiple flags 2020-09-24 23:21:54 +02:00
regex.py Extend RE_PROFILE_ALIAS to provide named matches 2020-05-27 14:05:35 +02:00
rules.py [7/9] Remove the DBUS_Rule class 2016-05-23 23:19:59 +02:00
sandbox.py fix whitespace and indentation in several files 2019-08-12 23:58:04 +02:00
severity.py severity: replace load_variables() with set_variables() 2020-05-27 13:32:44 +02:00
tools.py split get_profile_filename into .._from_profile_name and .._from_attachment 2018-10-23 00:28:37 +02:00
translations.py Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
ui.py less shell ;-) 2020-05-07 19:45:39 +02:00