Merge lp://staging/~canonical-platform-qa/qakit/appamor-utilities into lp://staging/qakit

Proposed by Heber Parrucci
Status: Merged
Merged at revision: 200
Proposed branch: lp://staging/~canonical-platform-qa/qakit/appamor-utilities
Merge into: lp://staging/qakit
Diff against target: 156 lines (+146/-0)
2 files modified
qakit/apparmor/__init__.py (+18/-0)
qakit/apparmor/apparmor_utils.py (+128/-0)
To merge this branch: bzr merge lp://staging/~canonical-platform-qa/qakit/appamor-utilities
Reviewer Review Type Date Requested Status
Santiago Baldassin (community) Approve
Review via email: mp+309374@code.staging.launchpad.net

Commit message

adding apparmor utilities to update profiles with given rules.
update_profile: to update an apparmor profile/s
restore_profiles: to get back the original ones loaded in the system.
are_rules_present: to check if certain rules are present in a given profile.

Description of the change

Change contains utilities to update apparmor profiles with given rules.

We will need this to be able to run automated tests against snaps applications. The idea is that the tests call this in their setup before running the tests.

Utilities:
update_profile, are_rules_present, restore_profiles

To post a comment you must log in.
Revision history for this message
Santiago Baldassin (sbaldassin) wrote :

Code looks good to me

review: Approve
200. By Heber Parrucci

merge from trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: