Debian Codegraph @

src/nspawn/nspawn-cgroup.h

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3
4 #include "shared-forward.h"
5 #include "nspawn-settings.h"
6
7 int create_subcgroup(
8 const PidRef *pid,
9 bool keep_unit,
10 uid_t uid_shift,
11 int userns_fd,
12 UserNamespaceMode userns_mode);
13
14 int mount_cgroups(const char *dest, bool accept_existing);
15 int bind_mount_cgroup_hierarchy(void);