]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-importd.service.in
Merge pull request #11482 from poettering/tmpfiles-bsd-lock
[thirdparty/systemd.git] / units / systemd-importd.service.in
index 58762055eb6a569c8e1187ac7fce9ed3c77fbdc8..38b7d7e94b4745f45e94f666fa101d8e3c76b9f9 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
@@ -18,8 +20,11 @@ KillMode=mixed
 CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE
 NoNewPrivileges=yes
 MemoryDenyWriteExecute=yes
+ProtectHostname=yes
 RestrictRealtime=yes
 RestrictNamespaces=net
 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
-SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap
+SystemCallFilter=@system-service @mount
+SystemCallErrorNumber=EPERM
 SystemCallArchitectures=native
+LockPersonality=yes