2006-04-11 21:52:54 +00:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
2010-08-05 14:00:02 -05:00
|
|
|
# Copyright (C) 2002-2009 Novell/SUSE
|
|
|
|
# Copyright (C) 2010 Canonical Ltd.
|
2006-04-11 21:52:54 +00:00
|
|
|
#
|
|
|
|
# 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/klogd {
|
|
|
|
#include <abstractions/base>
|
|
|
|
|
|
|
|
capability sys_admin,
|
|
|
|
|
2008-11-21 11:51:01 +00:00
|
|
|
network inet stream,
|
|
|
|
|
2006-04-11 21:52:54 +00:00
|
|
|
/boot/System.map* r,
|
2007-05-25 02:09:30 +00:00
|
|
|
@{PROC}/kmsg r,
|
2008-06-11 20:19:36 +00:00
|
|
|
@{PROC}/kallsyms r,
|
2008-11-21 11:51:01 +00:00
|
|
|
/dev/tty rw,
|
|
|
|
|
2006-08-04 18:13:59 +00:00
|
|
|
/sbin/klogd rmix,
|
2006-04-11 21:52:54 +00:00
|
|
|
/var/log/boot.msg rwl,
|
2007-08-07 12:26:21 +00:00
|
|
|
/var/run/klogd.pid krwl,
|
|
|
|
/var/run/klogd/klogd.pid krwl,
|
2007-06-01 21:18:50 +00:00
|
|
|
/var/run/klogd/kmsg r,
|
2008-11-21 11:51:01 +00:00
|
|
|
|
2010-08-05 14:00:02 -05:00
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
|
|
#include <local/sbin.klogd>
|
2006-04-11 21:52:54 +00:00
|
|
|
}
|