PageRenderTime 30ms CodeModel.GetById 26ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/apparmor.d/abstractions/gnome

http://github.com/brinkman83/bashrc
#! | 78 lines | 65 code | 13 blank | 0 comment | 0 complexity | c788c5ef89486525e94da4e5ad944a65 MD5 | raw file
 1# vim:syntax=apparmor
 2# $Id$
 3# ------------------------------------------------------------------
 4#
 5#    Copyright (C) 2002-2009 Novell/SUSE
 6#    Copyright (C) 2009 Canonical Ltd.
 7#
 8#    This program is free software; you can redistribute it and/or
 9#    modify it under the terms of version 2 of the GNU General Public
10#    License published by the Free Software Foundation.
11#
12# ------------------------------------------------------------------
13#include <abstractions/base>
14#include <abstractions/fonts>
15#include <abstractions/X>
16#include <abstractions/freedesktop.org>
17#include <abstractions/user-tmp>
18
19  # systemwide gtk defaults
20  /etc/gnome/gtkrc*               r,
21  /etc/gtk/*                      r,
22  /usr/lib{,32,64}/gtk/**         mr,
23  /usr/share/themes/**            r,
24
25  # for gnome 1 applications
26  /etc/orbitrc                    r,
27
28  # gtk-2 needed some new rights
29  /etc/fonts/*                    r,
30  /etc/gtk-*/*                    r,
31  /etc/pango/*                    r,
32  /usr/lib{,32,64}/pango/**       mr,
33  /usr/lib{,32,64}/gtk-*/**       mr,
34
35  # per-user gtk configuration
36  @{HOME}/.gnome/Gnome            r,
37  @{HOME}/.gtk                    r,
38  @{HOME}/.gtkrc                  r,
39  @{HOME}/.gtkrc-2.0              r,
40  @{HOME}/.gtk-bookmarks          r,
41  @{HOME}/.themes/                r,
42  @{HOME}/.themes/**              r,
43
44  # for gtk file dialog
45  @{HOME}/.config/gtk-2.0/**                    r,
46  @{HOME}/.config/gtk-2.0/gtkfilechooser.ini*   rw,
47
48  # from evolution-mail
49  @{HOME}/.gconfd/lock/*                        r,
50  @{HOME}/.gnome/application-info               r,
51
52  # per-user font business
53  @{HOME}/.fonts.cache-*          rwl,
54
55  # icon caches
56  /var/cache/**/icon-theme.cache  r,
57  /usr/share/**/icon-theme.cache  r,
58
59  # gnome VFS modules
60  /etc/gnome-vfs-2.0/modules/ r,
61  /etc/gnome-vfs-2.0/modules/* r,
62  /usr/lib/gnome-vfs-2.0/modules/*.so mr,
63
64  # gvfs
65  /usr/share/gvfs/remote-volume-monitors/  r,
66  /usr/share/gvfs/remote-volume-monitors/* r,
67  @{PROC}/*/mounts                 r,
68
69  # printing
70  /etc/papersize                   r,
71  /etc/cups/lpoptions              r,
72  /usr/share/cups/charmaps/**      r,
73
74  # holds MIT-MAGIC-COOKIE for gnome
75  owner /var/run/gdm/auth*/database r,
76
77  # mime-types
78  /etc/gnome/defaults.list r,