2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00
Files
apparmor/utils
Christian Boltz 1d0790c0c6 Carry over all autodep-generated rules in handle_children()
When creating a new child profile, handle_children() did only copy over
include and path rules. While this was correct in the past, path rules
got changed to FileRule in the meantime and were therefore lost.
(In practise, this means the "$binary mr," rule wasn't added to the new
child profile, causing a "superfluous" question in aa-logprof.)

This patch changes handle_children() to carry over the complete new
child profile instead of only cherry-picking include and path rules.


Acked-by: Steve Beattie <steve@nxnw.org> for trunk and 2.11.

Older versions (with path as hasher) are not affected.
2017-08-02 13:01:03 +02:00
..
2016-05-24 13:08:06 -07:00
2017-07-11 13:32:33 +02:00
2016-10-01 20:57:09 +02:00
2016-10-01 20:57:09 +02:00
2017-06-26 21:27:06 +02:00
2016-10-01 20:57:09 +02:00
2016-10-01 20:57:09 +02:00
2016-10-01 20:57:09 +02:00
2016-10-01 20:57:09 +02:00
2016-10-01 20:57:09 +02:00
2016-10-01 20:57:09 +02:00

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.