Merge lp:~mvo/snappy/snappy-add-apparmor-override into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Approved by: | Michael Vogt on 2015-04-22 |
| Approved revision: | 418 |
| Merged at revision: | 418 |
| Proposed branch: | lp:~mvo/snappy/snappy-add-apparmor-override |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Diff against target: |
118 lines (+74/-0) 2 files modified
snappy/oem.go (+42/-0) snappy/oem_test.go (+32/-0) |
| To merge this branch: | bzr merge lp:~mvo/snappy/snappy-add-apparmor-override |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jamie Strandboge | 2015-04-22 | Approve on 2015-04-22 | |
| Sergio Schvezov | Approve on 2015-04-22 | ||
|
Review via email:
|
|||
Commit Message
Add $PartID.
Description of the Change
This branch adds a $PartID.
assign package. This way the default apparmor policy can be deny-all
for /dev and we only open that for apps that need /dev - in which case
the launcher will use the device cgroup to grant the specific access.
| Sergio Schvezov (sergiusens) wrote : | # |
| Jamie Strandboge (jdstrand) wrote : | # |
How does this work with the 'snappy hw-assign'? Is the idea that the OEM hardware assign adds /dev/** since that implements all the udev tagging, but that hw-assign will still only add just what the user said (along with the udev rules from the other branch)?
| Michael Vogt (mvo) wrote : | # |
Yes, hwassign adds specific rules, oem all
On 22 April 2015 15:09:43 CEST, Jamie Strandboge <email address hidden> wrote:
>Review: Needs Information
>
>How does this work with the 'snappy hw-assign'? Is the idea that the
>OEM hardware assign adds /dev/** since that implements all the udev
>tagging, but that hw-assign will still only add just what the user said
>(along with the udev rules from the other branch)?
>--
>https:/
>You are the owner of lp:~mvo/snappy/snappy-add-apparmor-override.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
| Michael Vogt (mvo) wrote : | # |
Thanks for the review! I addressed the issues, please let me know if there is anything else I can do or if I missed anything.
| Michael Vogt (mvo) wrote : | # |
Branch updated and conflicts resolved.


Hey there, this looks good, I added a couple of comments but they may be irrelevant as I haven't been looking at apparmor related tasks.