mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
1fab0cbafc
/etc/mtab should be labeled as "_", even though systemd has its own smack label using '--with-smack-run-label' configuration. This is mainly because all processes could read that file and the origin of this file (i.e. /proc/mounts) is labeled as "_". This labels /etc/mtab as "_" when '--with-smack-run-label' is enabled.
23 lines
723 B
Plaintext
23 lines
723 B
Plaintext
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# See tmpfiles.d(5) for details
|
|
|
|
L /etc/os-release - - - - ../usr/lib/os-release
|
|
L /etc/localtime - - - - ../usr/share/zoneinfo/UTC
|
|
L+ /etc/mtab - - - - ../proc/self/mounts
|
|
m4_ifdef(`HAVE_SMACK_RUN_LABEL',
|
|
t /etc/mtab - - - - security.SMACK64=_
|
|
)m4_dnl
|
|
m4_ifdef(`ENABLE_RESOLVED',
|
|
L! /etc/resolv.conf - - - - ../run/systemd/resolve/resolv.conf
|
|
)m4_dnl
|
|
C /etc/nsswitch.conf - - - -
|
|
m4_ifdef(`HAVE_PAM',
|
|
C /etc/pam.d - - - -
|
|
)m4_dnl
|