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

« back to all changes in this revision

Viewing changes to profiles/apparmor.d/sbin.klogd

  • 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-2009 Novell/SUSE
 
4
#    Copyright (C) 2010 Canonical Ltd.
 
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
 
 
12
#include <tunables/global>
 
13
 
 
14
/sbin/klogd {
 
15
  #include <abstractions/base>
 
16
 
 
17
  capability sys_admin,
 
18
 
 
19
  network inet stream,
 
20
 
 
21
  /boot/System.map*     r,
 
22
  @{PROC}/kmsg          r,
 
23
  @{PROC}/kallsyms              r,
 
24
  /dev/tty              rw,
 
25
 
 
26
  /sbin/klogd           rmix,
 
27
  /var/log/boot.msg     rwl,
 
28
  /var/run/klogd.pid    krwl,
 
29
  /var/run/klogd/klogd.pid krwl,
 
30
  /var/run/klogd/kmsg   r,
 
31
 
 
32
  # Site-specific additions and overrides. See local/README for details.
 
33
  #include <local/sbin.klogd>
 
34
}