]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-logind.service.in
cpu-set-util: introduce cpu_set_mfree()
[thirdparty/systemd.git] / units / systemd-logind.service.in
index bb4a23ec83a04beb27ac70577ede432fa3ef10ea..968b92a45c2b8797d55d2fcc8b1fe569c75b3b72 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -13,8 +15,7 @@ Documentation=https://www.freedesktop.org/wiki/Software/systemd/multiseat
 Wants=user.slice
 After=nss-user-lookup.target user.slice
 
-# Ask for the dbus socket. If running over kdbus, the socket will
-# not be actually used.
+# Ask for the dbus socket.
 Wants=dbus.socket
 After=dbus.socket
 
@@ -31,6 +32,8 @@ RestrictNamespaces=yes
 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
 SystemCallArchitectures=native
+LockPersonality=yes
+IPAddressDeny=any
 FileDescriptorStoreMax=512
 
 # Increase the default a bit in order to allow many simultaneous