summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-13 00:00:27 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-13 00:00:27 +0100
commit54ecda32c60c6f2548f74703bfd324694393edaa (patch)
treed9747c30a1985b3b95497450ca1c2678a9079d08 /units
parentfa734f4da837abe6c893e75c95be78527db72c0f (diff)
socket: add option for SO_PASSEC
https://bugzilla.redhat.com/show_bug.cgi?id=798760 (Note that this work is not complete yet, as the kernel seems to send us useless data with SCM_SECURITY enabled)
Diffstat (limited to 'units')
-rw-r--r--units/syslog.socket1
-rw-r--r--units/systemd-journald.socket1
-rw-r--r--units/systemd-shutdownd.socket1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/syslog.socket b/units/syslog.socket
index 1c54857762..0e211e16e7 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -21,6 +21,7 @@ Wants=syslog.target
ListenDatagram=/run/systemd/journal/syslog
SocketMode=0666
PassCredentials=yes
+PassSecurity=yes
ReceiveBuffer=8M
# The default syslog implementation should make syslog.service a
diff --git a/units/systemd-journald.socket b/units/systemd-journald.socket
index c752505d9f..15fc49ef29 100644
--- a/units/systemd-journald.socket
+++ b/units/systemd-journald.socket
@@ -23,4 +23,5 @@ ListenDatagram=/run/systemd/journal/socket
ListenDatagram=/dev/log
SocketMode=0666
PassCredentials=yes
+PassSecurity=yes
ReceiveBuffer=8M
diff --git a/units/systemd-shutdownd.socket b/units/systemd-shutdownd.socket
index 532a6f0c73..7f13c9386e 100644
--- a/units/systemd-shutdownd.socket
+++ b/units/systemd-shutdownd.socket
@@ -16,3 +16,4 @@ Before=sockets.target
ListenDatagram=/run/systemd/shutdownd
SocketMode=0600
PassCredentials=yes
+PassSecurity=yes