]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/dev-mqueue.mount
Merge pull request #12508 from keszybz/no-root-checks
[thirdparty/systemd.git] / units / dev-mqueue.mount
index 5c11ca7d35023fc06b1831fca01f88f8218b43f4..0114ad31f0f6f2b8d087faf46da56a96c625b8ca 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
 [Unit]
 Description=POSIX Message Queue File System
 Documentation=man:mq_overview(7)
-Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
 DefaultDependencies=no
 Before=sysinit.target
 ConditionPathExists=/proc/sys/fs/mqueue
+ConditionCapability=CAP_SYS_ADMIN
 
 [Mount]
 What=mqueue
 Where=/dev/mqueue
 Type=mqueue
+Options=nosuid,nodev,noexec