[apparmor] [PATCH] Move poppler cMap rule to fonts abstraction

Seth Arnold seth.arnold at canonical.com
Thu May 30 16:52:20 UTC 2013


On Thu, May 30, 2013 at 04:21:22PM +0200, Felix Geyer wrote:
> Hello,
> 
> The gnome abstraction has this rule to allow reading poppler cMap tables:
>   /usr/share/poppler/cMap/** r,
> 
> poppler isn't only used by gnome/gtk applications.
> For example Mumble, Quassel and Steam try to read these files.
> 
> Imho it would make sense to move the rule from gnome to the
> fonts abstraction.
> gnome includes fonts so there shouldn't be any regression.
> 
> Cheers,
> Felix

Looks good to me, Thanks

Acked-by: Seth Arnold <seth.arnold at canonical.com>

> === modified file 'profiles/apparmor.d/abstractions/fonts'
> --- profiles/apparmor.d/abstractions/fonts	2013-01-05 06:05:53 +0000
> +++ profiles/apparmor.d/abstractions/fonts	2013-05-30 14:14:07 +0000
> @@ -44,3 +44,6 @@
>  
>    /usr/local/share/fonts/               r,
>    /usr/local/share/fonts/**             r,
> +
> +  # poppler CMap tables
> +  /usr/share/poppler/cMap/**            r,
> 
> === modified file 'profiles/apparmor.d/abstractions/gnome'
> --- profiles/apparmor.d/abstractions/gnome	2013-01-05 06:05:53 +0000
> +++ profiles/apparmor.d/abstractions/gnome	2013-05-30 14:13:53 +0000
> @@ -83,6 +83,3 @@
>    # mime-types
>    /etc/gnome/defaults.list r,
>    /usr/share/gnome/applications/mimeinfo.cache r,
> -
> -  # poppler CMap tables
> -  /usr/share/poppler/cMap/** r,
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130530/b02a1326/attachment.pgp>


More information about the AppArmor mailing list