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

« back to all changes in this revision

Viewing changes to parser/tst/errors/includes/base

  • 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
 
 
11
 
 
12
 
 
13
  # (Note that the ldd profile has inlined this file; if you make
 
14
  # modifications here, please consider including them in the ldd
 
15
  # profile as well.)
 
16
 
 
17
  # The __canary_death_handler function writes a time-stamped log
 
18
  # message to /dev/log for logging by syslogd. So, /dev/log, timezones,
 
19
  # and localisations of date should be available EVERYWHERE, so
 
20
  # StackGuard, FormatGuard, etc., alerts can be properly logged.
 
21
  /dev/log                       w,
 
22
  /dev/urandom                   r,
 
23
  /etc/locale/**                 r,
 
24
  /etc/localtime                 r,
 
25
  /usr/share/locale/**           r,
 
26
  /usr/share/zoneinfo/**         r,
 
27
 
 
28
  /usr/lib64/locale/**           r,
 
29
  /usr/lib64/gconv/*.so          r,
 
30
  /usr/lib64/gconv/gconv-modules*  r,
 
31
  /usr/lib/locale/**             r,
 
32
  /usr/lib/gconv/*.so            r,
 
33
  /usr/lib/gconv/gconv-modules*  r,
 
34
 
 
35
  # used by glibc when binding to ephemeral ports
 
36
  /etc/bindresvport.blacklist    r,
 
37
 
 
38
  # ld.so.cache and ld are used to load shared libraries; they are best
 
39
  # available everywhere
 
40
  /etc/ld.so.cache               r,
 
41
  # 'px' requires a profile to be available for the transition to
 
42
  # function; without a loaded profile, the kernel will fail the exec.
 
43
  /lib/ld-*.so                   px,
 
44
  /lib64/ld-*.so                 px,
 
45
  /opt/*-linux-uclibc/lib/ld-uClibc*so* px,
 
46
 
 
47
  # we might as well allow everything to use common libraries
 
48
  /lib/lib*.so*                  r,
 
49
  /lib/tls/lib*.so*              r,
 
50
  /lib/power4/lib*.so*           r,
 
51
  /lib/power5/lib*.so*           r,
 
52
  /lib/power5+/lib*.so*          r,
 
53
  /lib64/power4/lib*.so*         r,
 
54
  /lib64/power5/lib*.so*         r,
 
55
  /lib64/power5+/lib*.so*        r,
 
56
  /usr/lib/*.so*                 r,
 
57
  /usr/lib/tls/lib*.so*          r,
 
58
  /usr/lib/power4/lib*.so*       r,
 
59
  /usr/lib/power5/lib*.so*       r,
 
60
  /usr/lib/power5+/lib*.so*      r,
 
61
  /lib64/lib*.so*                r,
 
62
  /lib64/tls/lib*.so*            r,
 
63
  /usr/lib64/*.so*               r,
 
64
  /usr/lib64/tls/lib*.so*        r,
 
65
 
 
66
  # /dev/null is pretty harmless and frequently used
 
67
  /dev/null                      rw,
 
68
  # as is /dev/zero
 
69
  /dev/zero                      rw,
 
70
 
 
71
  # Sometimes used to determine kernel/user interfaces to use
 
72
  /proc/sys/kernel/version       r,
 
73
  # Depending on which glibc routine uses this file, base may not be the
 
74
  # best place -- but many profiles require it, and it is quite harmless.
 
75
  /proc/sys/kernel/ngroups_max   r,
 
76
 
 
77
  # glibc's sysconf(3) routine to determine free memory, etc
 
78
  /proc/meminfo                  r,
 
79
  /proc/stat                     r,
 
80
  /proc/cpuinfo                  r,