summaryrefslogtreecommitdiffstats
path: root/src/shared/dev-setup.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/shared/dev-setup.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/dev-setup.h b/src/shared/dev-setup.h
new file mode 100644
index 0000000..5339bc4
--- /dev/null
+++ b/src/shared/dev-setup.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#include <sys/types.h>
+
+int lock_dev_console(void);
+
+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);