summaryrefslogtreecommitdiffstats
path: root/src/basic/missing_wait.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-01-04 15:15:45 +0100
committerGitHub <noreply@github.com>2024-01-04 15:15:45 +0100
commit96fc8cab2a8cf2a10de7682dd802444f9e322ffa (patch)
tree3fa036526d8374d5defb61fc9afc1704888d1174 /src/basic/missing_wait.h
parentupdate-man-rules: skip over standard-conf.xml (diff)
parentvarlink: avoid logging content of message if it contains sensitive data (diff)
downloadsystemd-96fc8cab2a8cf2a10de7682dd802444f9e322ffa.tar.xz
systemd-96fc8cab2a8cf2a10de7682dd802444f9e322ffa.zip
Merge pull request #30578 from bluca/polkit-varlink
varlink: add glue to allow authenticating varlink connections via polkit
Diffstat (limited to 'src/basic/missing_wait.h')
-rw-r--r--src/basic/missing_wait.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/basic/missing_wait.h b/src/basic/missing_wait.h
new file mode 100644
index 0000000000..a24779d977
--- /dev/null
+++ b/src/basic/missing_wait.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include <sys/wait.h>
+
+#ifndef P_PIDFD
+#define P_PIDFD 3
+#endif