summaryrefslogtreecommitdiffstats
path: root/src/nspawn/nspawn.h
blob: 556f8ee1aff07d081699a52ba114357ef98ac53b (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <sys/types.h>

int userns_lchown(const char *p, uid_t uid, gid_t gid);
int userns_mkdir(const char *root, const char *path, mode_t mode, uid_t uid, gid_t gid);
int make_run_host(const char *root);