[apparmor] [PATCH] update gnome abstraction for poppler cMap tables

Steve Beattie steve at nxnw.org
Tue Aug 14 19:22:28 UTC 2012


On Tue, Aug 14, 2012 at 01:57:12PM -0500, Jamie Strandboge wrote:
> Gnome applications are now quite interested in reading
> /usr/share/poppler/cMap/**. These files are included in the poppler-data
> package on Ubuntu, and their 'r' denials create quite a bit of noise.
> Apparently they are needed to display PDF documents containing CJK
> characters with libpoppler. I added it to the gnome abstraction because
> several applications not linked against poppler are consulting this
> data.

Okay, I guess. I wonder if these will get pulled out of poppler and into
something independent eventually?

Acked-By: Steve Beattie <sbeattie at ubuntu.com>

> Author: Jamie Strandboge <jamie at canonical.com>
> Description: update gnome abstraction for new poppler cMap paths
> Forwarded: yes
> 
> Index: apparmor-2.8.0/profiles/apparmor.d/abstractions/gnome
> ===================================================================
> --- apparmor-2.8.0.orig/profiles/apparmor.d/abstractions/gnome	2012-01-11 07:17:32.000000000 -0600
> +++ apparmor-2.8.0/profiles/apparmor.d/abstractions/gnome	2012-08-14 13:33:47.000000000 -0500
> @@ -83,3 +83,6 @@
>    # mime-types
>    /etc/gnome/defaults.list r,
>    /usr/share/gnome/applications/mimeinfo.cache r,
> +
> +  # poppler CMap tables
> +  /usr/share/poppler/cMap/** r,

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120814/ba48c2e9/attachment.pgp>


More information about the AppArmor mailing list