mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
It doesn't really make sense to have that in dev-setup.c, which is mostly about setting up /dev/, creating device nodes and stuff. let's move it to the other stuff that deals with /dev/console's peculiarities.
9 lines
220 B
C
9 lines
220 B
C
/* 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);
|