summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nspawn/nspawn.h')
-rw-r--r--src/nspawn/nspawn.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nspawn/nspawn.h b/src/nspawn/nspawn.h
new file mode 100644
index 0000000..27fb0b4
--- /dev/null
+++ b/src/nspawn/nspawn.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include <sys/types.h>
+
+int userns_lchown(const char *p, uid_t uid, gid_t gid);
+int userns_mkdir(const char *root, const char *path, mode_t mode, uid_t uid, gid_t gid);