summaryrefslogtreecommitdiffstats
path: root/src/shared/dev-setup.h
blob: 5339bc4e5e9075605283076ffc338740a3ab1a6b (plain)
1
2
3
4
5
6
7
8
9
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);