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

« back to all changes in this revision

Viewing changes to profiles/enabled/sbin.syslog-ng

  • 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
 
# $Id$
2
 
# ------------------------------------------------------------------
3
 
#
4
 
#    Copyright (C) 2006 Novell/SUSE
5
 
#    Copyright (C) 2006 Christian Boltz
6
 
#
7
 
#    This program is free software; you can redistribute it and/or
8
 
#    modify it under the terms of version 2 of the GNU General Public
9
 
#    License published by the Free Software Foundation.
10
 
#
11
 
# ------------------------------------------------------------------
12
 
 
13
 
#include <tunables/global>
14
 
 
15
 
/sbin/syslog-ng {
16
 
  #include <abstractions/base>
17
 
  #include <abstractions/consoles>
18
 
  #include <abstractions/nameservice>
19
 
 
20
 
  capability chown,
21
 
  capability dac_override,
22
 
  capability fsetid,
23
 
  capability fowner,
24
 
 
25
 
  /dev/log w,
26
 
  /dev/tty10 w,
27
 
  /dev/xconsole rw,
28
 
  /etc/syslog-ng/* r,
29
 
  /sbin/syslog-ng mr,
30
 
  # chrooted applications
31
 
  /var/lib/*/dev/log w,
32
 
  /var/log/** w,
33
 
  /var/run/syslog-ng.pid w,
34
 
}
35