summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn-setuid.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nspawn/nspawn-setuid.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-setuid.h b/src/nspawn/nspawn-setuid.h
new file mode 100644
index 0000000..0ae47cb
--- /dev/null
+++ b/src/nspawn/nspawn-setuid.h
@@ -0,0 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+int change_uid_gid(const char *user, char **ret);