~ubuntu-branches/ubuntu/raring/apparmor/raring

« back to all changes in this revision

Viewing changes to profiles/extras/usr.bin.opera

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-03-23 16:42:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070323164201-jkax6f0oku087b7l
Tags: upstream-2.0.1+510.dfsg
ImportĀ upstreamĀ versionĀ 2.0.1+510.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: usr.bin.opera 90 2006-08-04 19:13:59Z seth_arnold $
 
2
# ------------------------------------------------------------------
 
3
#
 
4
#    Copyright (C) 2002-2005 Novell/SUSE
 
5
#
 
6
#    This program is free software; you can redistribute it and/or
 
7
#    modify it under the terms of version 2 of the GNU General Public
 
8
#    License published by the Free Software Foundation.
 
9
#
 
10
# ------------------------------------------------------------------
 
11
# vim:syntax=apparmor
 
12
# Last Modified: Thu Aug 25 14:49:56 2005
 
13
 
 
14
#include <tunables/global>
 
15
 
 
16
/usr/bin/opera {
 
17
  #include <abstractions/base>
 
18
  #include <abstractions/bash>
 
19
  #include <abstractions/consoles>
 
20
  #include <abstractions/kde>
 
21
  #include <abstractions/nameservice>
 
22
  #include <abstractions/user-write>
 
23
  #include <abstractions/user-download>
 
24
  #include <abstractions/X>
 
25
 
 
26
  capability dac_override,
 
27
 
 
28
  / r,
 
29
  /bin/bash mix,
 
30
  /bin/sed mixr,
 
31
  /bin/true mixr,
 
32
  /etc/SuSE-release r,
 
33
  /etc/X11/.qt_plugins_3.3rc.lock rw,
 
34
  /etc/X11/.qtrc.lock rw,
 
35
  /etc/cups/client.conf r,
 
36
  /etc/cups/lpoptions r,
 
37
  /etc/opera6rc rw,
 
38
  /etc/opera6rc.fixed rw,
 
39
  /opt r,
 
40
  /proc/*/stat r,
 
41
  /proc/net/if_inet6 r,
 
42
  /proc/stat r,
 
43
  /proc/sys/vm/heap-stack-gap r,
 
44
 
 
45
  @{HOME}/.fonts.cache-* r,
 
46
  @{HOME}/.fonts r,
 
47
  @{HOME}/.fonts/** r,
 
48
  @{HOME} r,
 
49
  @{HOME}/.kde/share/** r,
 
50
  @{HOME}/OperaDownloads/* rw,
 
51
  @{HOME}/.opera/** lrw,
 
52
  @{HOME}/.opera r,
 
53
 
 
54
  /opt/mozilla/lib/plugins r,
 
55
  /opt/mozilla/lib/plugins/** mr,
 
56
  /opt/gnome/share/** r,
 
57
  /usr r,
 
58
  /opt/kde3/bin/kfmclient rUx,
 
59
  /opt/kde3/lib/kde3/plugins/integration/*.so mr,
 
60
  /usr/X11R6/bin/acroread rPx,
 
61
  /usr/X11R6/lib r,
 
62
  /usr/X11R6/lib/Acrobat7/Browser/intellinux/nppdf.so mr,
 
63
  /usr/X11R6/lib/Acrobat7/Resource/Font/** r,
 
64
  /usr/X11R6/lib/X11/XErrorDB r,
 
65
  /usr/bin/lp rUx,
 
66
  /usr/bin/opera r,
 
67
  /usr/lib r,
 
68
  /usr/lib/RealPlayer10/realplay rPx,
 
69
  /usr/lib/RealPlayer10/realplay.bin rPx,
 
70
  /usr/lib/browser-plugins r,
 
71
  /usr/lib/browser-plugins/* mr,
 
72
  /usr/lib/jvm/** mr,
 
73
  /usr/lib/ooo-2.0/share/fonts/** r,
 
74
  /usr/lib/opera/** mixr,
 
75
  /usr/local r,
 
76
  /usr/share/opera/** r,
 
77
  /var/X11R6/compose-cache/* r,
 
78
  /var/run/.resmgr_socket w,
 
79
  /var/spool/cups/tmp/* lrw,
 
80
  /opt/gnome/bin/gnome-open rUx,
 
81
# external source editors
 
82
  /usr/X11R6/bin/xedit rUx,
 
83
  /usr/bin/xterm rUx,
 
84
  /usr/X11R6/bin/rxvt rUx,
 
85
  /opt/kde3/bin/kate rUx,
 
86
  /opt/kde3/bin/kwrite rUx,
 
87
  /usr/bin/vi rUx,
 
88
  /usr/bin/vim rUx,
 
89
  /usr/bin/emacs rUx,
 
90
  /usr/bin/pico rUx,
 
91
  /opt/kde3/bin/kvim rUx,
 
92
  /usr/X11R6/bin/xemacs rUx,
 
93
  /bin/vim rUx,
 
94
  /bin/vi rUx,
 
95
}