lp:~jamesh/thumbnailer/use-aa-query-label
Created by
James Henstridge
and last modified
- Get this branch:
- bzr branch lp:~jamesh/thumbnailer/use-aa-query-label
Only
James Henstridge
can upload to this branch. If you are
James Henstridge
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- PS Jenkins bot (community): Approve (continuous-integration)
- Michi Henning (community): Approve
-
Diff: 1060 lines (+321/-200)22 files modifiedCMakeLists.txt (+1/-0)
include/internal/check_access.h (+42/-0)
include/internal/thumbnailer.h (+4/-1)
plugins/Ubuntu/Thumbnailer.0.1/CMakeLists.txt (+0/-1)
plugins/Ubuntu/Thumbnailer.0.1/thumbnailgenerator.cpp (+1/-15)
src/CMakeLists.txt (+2/-0)
src/check_access.cpp (+83/-0)
src/service/CMakeLists.txt (+1/-3)
src/service/dbusinterface.cpp (+1/-2)
src/service/dbusinterface.h (+0/-1)
src/service/dbusinterface.xml (+1/-2)
src/service/handler.cpp (+1/-1)
src/thumbnailer-admin/get_local_thumbnail.cpp (+1/-13)
src/thumbnailer.cpp (+41/-26)
tests/CMakeLists.txt (+1/-0)
tests/check_access/CMakeLists.txt (+3/-0)
tests/check_access/check_access_test.cpp (+64/-0)
tests/dbus/dbus_test.cpp (+5/-42)
tests/qml/tst_albumart.qml (+4/-12)
tests/testsetup.h.in (+1/-1)
tests/thumbnailer-admin/thumbnailer-admin_test.cpp (+2/-2)
tests/thumbnailer/thumbnailer_test.cpp (+62/-78)
Related bugs
Bug #1381713: Support policy query interface for file | Undecided | Fix Released |
|
Bug #1464068: Out of file descriptors | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 226. By James Henstridge
-
Remove the extra nul byte at the end of the buffer passed to
aa_query_label() -- this causes the check to fail for AppArmor labels
other than "unconfined". - 224. By James Henstridge
-
Point the QML plugin at one of the real default images, rather than a
JPEG with rotation data that is rendered differently by different Qt
versions. - 219. By James Henstridge
-
Remove the filename_fd parameter from Thumbnailer:
:get_thumbnail( ), and
update tests to accomodate. The two replace_{video, audio} tests are
disabled, since we can no longer detect this race condition. - 218. By James Henstridge
-
Perform AppArmor security check in LocalThumbnail:
:fetch( ) method rather
than constructor. This leaves some tests broken because we are no
longer validating the file descriptor passed to the method.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:thumbnailer