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

« back to all changes in this revision

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

  • 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/syslogd {
 
15
  #include <abstractions/base>
 
16
  #include <abstractions/nameservice>
 
17
  #include <abstractions/consoles>
 
18
 
 
19
  capability sys_tty_config,
 
20
  capability dac_override,
 
21
  capability dac_read_search,
 
22
  capability setuid,
 
23
  capability setgid,
 
24
 
 
25
  /dev/log                      wl,
 
26
  /var/lib/*/dev/log            wl,
 
27
 
 
28
  /dev/tty*                     w,
 
29
  /dev/xconsole                 rw,
 
30
  /etc/syslog.conf              r,
 
31
  /sbin/syslogd                 rmix,
 
32
  /var/log/**                   rw,
 
33
  /var/run/syslogd.pid          krwl,
 
34
  /var/run/utmp                 rw,
 
35
  /var/spool/compaq/nic/messages_fifo rw,
 
36
 
 
37
  # Site-specific additions and overrides. See local/README for details.
 
38
  #include <local/sbin.syslogd>
 
39
}