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

« back to all changes in this revision

Viewing changes to .pc/0005-lp761217.patch/profiles/apparmor.d/abstractions/private-files

  • 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
# vim:syntax=apparmor
 
2
# privacy-violations contains rules for common files that you want to explicity
 
3
# deny access
 
4
 
 
5
  # privacy violations (don't audit files under $HOME otherwise get a
 
6
  # lot of false positives when reading contents of directories)
 
7
  deny @{HOME}/.*history mrwkl,
 
8
  deny @{HOME}/.fetchmail* mrwkl,
 
9
  deny @{HOME}/.viminfo* mrwkl,
 
10
  deny @{HOME}/.*~ mrwkl,
 
11
  deny @{HOME}/.*.swp mrwkl,
 
12
  deny @{HOME}/.*~1~ mrwkl,
 
13
  deny @{HOME}/.*.bak mrwkl,
 
14
 
 
15
  # special attention to (potentially) executable files
 
16
  audit deny @{HOME}/bin/** wl,
 
17
  audit deny @{HOME}/.config/autostart/** wl,
 
18
  audit deny @{HOME}/.kde/Autostart/** wl,
 
19
 
 
20
  deny @{HOME}/.bash* mrk,
 
21
  audit deny @{HOME}/.bash* wl,
 
22
 
 
23
  deny @{HOME}/.profile* mrk,
 
24
  audit deny @{HOME}/.profile* wl,
 
25
 
 
26
  deny @{HOME}/.*rc mrk,
 
27
  audit deny @{HOME}/.*rc wl,
 
28