HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/etc/apparmor.d/sbin.syslogd
# ------------------------------------------------------------------
#
#    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.
#
# ------------------------------------------------------------------

abi <abi/3.0>,

include <tunables/global>

profile syslogd /{usr/,}{bin,sbin}/syslogd flags=(complain) {
  include <abstractions/base>
  include <abstractions/nameservice>
  include <abstractions/consoles>

  capability sys_tty_config,
  capability dac_override,
  capability dac_read_search,
  capability setuid,
  capability setgid,
  capability syslog,

  unix (receive) type=dgram,
  unix (receive) type=stream,

  /dev/log                      wl,
  /var/lib/*/dev/log            wl,

  /dev/tty*                     w,
  /dev/xconsole                 rw,
  /etc/syslog.conf              r,
  /{usr/,}{bin,sbin}/syslogd    rmix,
  /var/log/**                   rw,
  @{run}/syslogd.pid          krwl,
  @{run}/utmp                 rw,
  /var/spool/compaq/nic/messages_fifo rw,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/sbin.syslogd>
}