summaryrefslogtreecommitdiffstats
path: root/src/shared/base-filesystem.h
blob: a1ccf451c4752c80a36429fc0725b429716b633a (plain)
1
2
3
4
5
6
7
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <sys/types.h>

int base_filesystem_create_fd(int fd, const char *root, uid_t uid, gid_t gid);
int base_filesystem_create(const char *root, uid_t uid, gid_t gid);