mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
selinux: support infering SELinux label also from socket not connected to stdin
Fixes #19918
This commit is contained in:
committed by
Lennart Poettering
parent
7e4dcd2d1f
commit
49590d67c9
@@ -629,10 +629,12 @@
|
||||
resulting SELinux context originate from either the target
|
||||
binary that is effectively triggered by socket unit or from
|
||||
the value of the <varname>SELinuxContext=</varname> option.
|
||||
This configuration option only affects sockets with
|
||||
<varname>Accept=</varname> mode set to
|
||||
<literal>yes</literal>. Also note that this option is useful
|
||||
only when MLS/MCS SELinux policy is deployed. Defaults to
|
||||
This configuration option applies only when activated service
|
||||
is passed in single socket file descriptor, i.e. service
|
||||
instances that have standard input connected to a socket or
|
||||
services triggered by exactly one socket unit. Also note
|
||||
that this option is useful only when MLS/MCS SELinux policy
|
||||
is deployed. Defaults to
|
||||
<literal>false</literal>. </para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user