summaryrefslogtreecommitdiffstats
path: root/src/shared/dev-setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/dev-setup.h')
-rw-r--r--src/shared/dev-setup.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/dev-setup.h b/src/shared/dev-setup.h
new file mode 100644
index 0000000..92ba6cf
--- /dev/null
+++ b/src/shared/dev-setup.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include <sys/types.h>
+
+int dev_setup(const char *prefix, uid_t uid, gid_t gid);
+
+int make_inaccessible_nodes(const char *parent_dir, uid_t uid, gid_t gid);