[apparmor] [PATCH 1/2] add new xdg-desktop abstraction

Jamie Strandboge jamie at canonical.com
Wed Jan 11 11:45:36 UTC 2012


A bug[1] was filed in Ubuntu to add the following to the audio
abstraction:
@{HOME}/.config rw,

The logic was that in the audio abstraction we have the following:
@{HOME}/.cache/event-sound-cache.* rw,

so the logic follows that if this rule is in the abstraction, then
if .config didn't exist, it must be created. While I understand the
reasoning, it didn't feel quite right, so Steve, John and I discussed
this and came up with the idea that we should create an xdg-desktop
abstraction based on the upstream documentation[2]. Attached patch adds
this abstraction.

[1]https://launchpad.net/bugs/914386
[2]http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

-- 
Jamie Strandboge             | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xdg-desktop.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120111/647ec08d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120111/647ec08d/attachment.pgp>


More information about the AppArmor mailing list