Hello, according to the discussion with John on IRC, exec log events for directories should never happen, therefore let handle_children() raise an exception.
[ 69-error-out-on-dir-exec.diff ] --- utils/apparmor/aa.py 2016-02-04 01:21:33.010848414 +0100 +++ utils/apparmor/aa.py 2016-02-04 17:49:00.985255184 +0100 @@ -1208,8 +1203,7 @@ if mode & str_to_mode('x'): if os.path.isdir(exec_target): - mode = mode - apparmor.aamode.ALL_AA_EXEC_TYPE - mode = mode | str_to_mode('ix') + raise AppArmorBug('exec permissions requested for directory %s. This should not happen - please open a bugreport!' % exec_target) else: do_execute = True Regards, Christian Boltz -- > > "Frontpage" is a M$ WYSIWYG web page creation program. Would you like some Wine with that ActiveX? You must have a different Outlook(tm) on things, I thought it was an Excel(tm)lent Word(tm). [>> Carl Hartung and Peter Flodin in opensuse]
signature.asc
Description: This is a digitally signed message part.
-- AppArmor mailing list AppArmor@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor