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.
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
2023-06-30 23:36:12 -07:00
|
|
|
abi <abi/4.0>,
|
2020-05-05 00:08:39 -07:00
|
|
|
|
2020-06-09 23:30:24 +02:00
|
|
|
include <tunables/global>
|
2006-04-11 21:52:54 +00:00
|
|
|
|
2018-07-25 14:07:35 -07:00
|
|
|
profile klogd /{usr/,}{bin,sbin}/klogd {
|
2020-06-09 23:30:24 +02:00
|
|
|
include <abstractions/base>
|
2006-04-11 21:52:54 +00:00
|
|
|
|
2011-08-19 00:27:03 +02:00
|
|
|
capability sys_admin, # for backward compatibility with kernel <= 2.6.37
|
2011-08-18 23:54:24 +02:00
|
|
|
capability syslog,
|
2006-04-11 21:52:54 +00:00
|
|
|
|
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,
|
2018-07-25 14:07:35 -07:00
|
|
|
@{PROC}/kallsyms r,
|
2008-11-21 11:51:01 +00:00
|
|
|
/dev/tty rw,
|
|
|
|
|
2018-07-25 14:07:35 -07:00
|
|
|
/{usr/,}{bin,sbin}/klogd rmix,
|
2006-04-11 21:52:54 +00:00
|
|
|
/var/log/boot.msg rwl,
|
2020-02-13 11:02:49 +02:00
|
|
|
@{run}/klogd.pid krwl,
|
|
|
|
@{run}/klogd/klogd.pid krwl,
|
|
|
|
@{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.
|
2020-04-28 22:25:27 +02:00
|
|
|
include if exists <local/sbin.klogd>
|
2006-04-11 21:52:54 +00:00
|
|
|
}
|