~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ------------------------------------------------------------------
 
2
#
 
3
#    Copyright (C) 2002-2005 Novell/SUSE
 
4
#
 
5
#    This program is free software; you can redistribute it and/or
 
6
#    modify it under the terms of version 2 of the GNU General Public
 
7
#    License published by the Free Software Foundation.
 
8
#
 
9
# ------------------------------------------------------------------
 
10
# vim:syntax=apparmor
 
11
 
 
12
#include <tunables/global>
 
13
/usr/bin/opera {
 
14
  #include <abstractions/base>
 
15
  #include <abstractions/bash>
 
16
  #include <abstractions/consoles>
 
17
  #include <abstractions/kde>
 
18
  #include <abstractions/nameservice>
 
19
  #include <abstractions/user-write>
 
20
  #include <abstractions/user-download>
 
21
  #include <abstractions/X>
 
22
 
 
23
  capability dac_override,
 
24
 
 
25
  /bin/bash mix,
 
26
  /bin/sed mixr,
 
27
  /bin/true mixr,
 
28
  /etc/SuSE-release r,
 
29
  /etc/X11/.qt_plugins_3.3rc.lock rw,
 
30
  /etc/X11/.qtrc.lock rw,
 
31
  /etc/cups/client.conf r,
 
32
  /etc/cups/lpoptions r,
 
33
  /etc/opera6rc        rw,
 
34
  /etc/opera6rc.fixed rw,
 
35
  @{PROC}/[0-9]*/stat r,
 
36
  @{PROC}/net/if_inet6 r,
 
37
  @{PROC}/sys/vm/heap-stack-gap r,
 
38
 
 
39
  @{HOME} r,
 
40
  @{HOME}/.fonts.cache-* r,
 
41
  @{HOME}/.fonts r,
 
42
  @{HOME}/.fonts/** r,
 
43
  @{HOME}/.kde/share/** r,
 
44
  @{HOME}/OperaDownloads/* rw,
 
45
  @{HOME}/.opera/** lrw,
 
46
  @{HOME}/.opera r,
 
47
  @{HOME}/tux/.fonts/ r,
 
48
  @{HOME}/tux/.qt/.qtrx.lock k,
 
49
  @{HOME}/tux/.opera/ w,
 
50
 
 
51
  /opt/ r,
 
52
  /opt/kde3/lib/kde3/plugins/integration/*.so mr,
 
53
 
 
54
  /usr/ r,
 
55
  /usr/share/** r,
 
56
  /usr/bin/acroread rPx,
 
57
  /usr/bin/opera r,
 
58
  /usr/lib r,
 
59
  /usr/lib/RealPlayer10/realplay rPx,
 
60
  /usr/lib/RealPlayer10/realplay.bin rPx,
 
61
  /usr/lib/browser-plugins r,
 
62
  /usr/lib/browser-plugins/* mr,
 
63
  /usr/lib/jvm/** mr,
 
64
  /usr/lib/opera/** mixr,
 
65
  /usr/local r,
 
66
  /usr/share/opera/** r,
 
67
  /var/run/.resmgr_socket w,
 
68
  /var/spool/cups/tmp/* lrw,
 
69
 
 
70
  /usr/bin/opera mr,
 
71
  /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/lib/i386/*.so mr,
 
72
  /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/lib/i386/client/*.so mr,
 
73
  /usr/lib/opera/*/opera ix,
 
74
  /usr/lib/opera/*/works ixr,
 
75
}