Merge lp:~jamesh/thumbnailer/aa-access-fix into lp:thumbnailer/devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michi Henning | ||||
Approved revision: | 220 | ||||
Merged at revision: | 219 | ||||
Proposed branch: | lp:~jamesh/thumbnailer/aa-access-fix | ||||
Merge into: | lp:thumbnailer/devel | ||||
Diff against target: |
315 lines (+50/-44) 4 files modified
include/internal/thumbnailer.h (+3/-2) src/service/handler.cpp (+10/-1) src/thumbnailer.cpp (+19/-18) tests/thumbnailer/thumbnailer_test.cpp (+18/-23) |
||||
To merge this branch: | bzr merge lp:~jamesh/thumbnailer/aa-access-fix | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michi Henning (community) | Approve | ||
Review via email:
|
Commit message
Move the AppArmor check earlier so it is not skipped for files already in the cache.
Description of the change
With the previous AppArmor changes, I moved the GetThumbnail() security check to the LocalThumbnailR
This branch renames the ThumbnailReques
Unfortunately, I can't easily check the AppArmor aspects from within the test suite since (a) AppArmor isn't available within the Jenkins environment, and (b) even if it was, it isn't clear what profiles we can rely on being loaded into the kernel.
Once I'm done with manual testing, I'll try to formulate this as something people can repeat in the test plan. The thumbnailer-admin utility is really useful here.
FAILED: Continuous integration, rev:219 /code.launchpad .net/~jamesh/ thumbnailer/ aa-access- fix/+merge/ 262295/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ thumbnailer- devel-ci/ 291/ jenkins. qa.ubuntu. com/job/ thumbnailer- devel-wily- amd64-ci/ 100 jenkins. qa.ubuntu. com/job/ thumbnailer- devel-wily- armhf-ci/ 102 jenkins. qa.ubuntu. com/job/ thumbnailer- devel-wily- armhf-ci/ 102/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ thumbnailer- devel-wily- i386-ci/ 100
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/thumbnailer -devel- ci/291/ rebuild
http://