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

#include <stdbool.h>

int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags);