]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket: support setting ownership of message queues
authorDavid Michael <dmichael@owlcyberdefense.com>
Fri, 25 Oct 2024 14:45:44 +0000 (10:45 -0400)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Oct 2024 22:40:42 +0000 (23:40 +0100)
commit3eec82f6b31b22e1d9fe60ff47e1e6193fd4bb36
tree6a129ea38f1b3ed19df9318bb2f47258a349e12f
parent2b7a56d286342a5b179404e384b4763c5d4f6b3c
socket: support setting ownership of message queues

This applies the existing SocketUser=/SocketGroup= options to units
defining a POSIX message queue, bringing them in line with UNIX
sockets and FIFOs.  They are set on the file descriptor rather than
a file system path because the /dev/mqueue path interface is an
optional mount unit.
man/systemd.socket.xml
src/core/socket.c
test/units/TEST-07-PID1.mqueue-ownership.sh [new file with mode: 0755]