apparmor/profiles/apparmor.d/sbin.syslogd
Jamie Strandboge f25949cf84 start on 'local/' mechanism to aid in packaging:
- add profiles/local/README
- adjust profiles/apparmor.d/{bin,sbin,usr}* to include a file from local/
- adjust profiles/apparmor.d/{bin,sbin,usr}* for for copyright, some whitespace
  and svn conventions
2010-08-05 14:00:02 -05:00

39 lines
1.1 KiB
Text

# ------------------------------------------------------------------
#
# Copyright (C) 2002-2009 Novell/SUSE
# Copyright (C) 2010 Canonical Ltd.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
#include <tunables/global>
/sbin/syslogd {
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/consoles>
capability sys_tty_config,
capability dac_override,
capability dac_read_search,
capability setuid,
capability setgid,
/dev/log wl,
/var/lib/*/dev/log wl,
/dev/tty* w,
/dev/xconsole rw,
/etc/syslog.conf r,
/sbin/syslogd rmix,
/var/log/** rw,
/var/run/syslogd.pid krwl,
/var/run/utmp rw,
/var/spool/compaq/nic/messages_fifo rw,
# Site-specific additions and overrides. See local/README for details.
#include <local/sbin.syslogd>
}