mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-09 02:41:03 +01:00

This patch adds profiles for all log sniplets that are expected to result in a profile rule. This also means some changes in test-libapparmor-test_multi.py are needed: - split off log_to_profile_skip from log_to_profile_known_failures to - only skip tests in log_to_profile_skip (causing a crash or requiring user interaction) - run tests in log_to_profile_known_failures, but expect a non-equal result (caused by not added rules etc.) - add quite some tests to log_to_profile_known_failures - they were skipped before because they didn't have a *.profile file. - add handling for hats to shorten list of known failures This fixes testcase24 and testcase33 (after adjusting the profiles) and lots of the new *.profile files. - since we now have *.profile files for all log events that should result in a profile rule, no longer ignore FileNotFoundError Acked-by: Seth Arnold <seth.arnold@canonical.com>
4 lines
42 B
Text
4 lines
42 B
Text
/home/jamie/foobar.sh {
|
|
/bin/dash r,
|
|
|
|
}
|