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

#include <stdbool.h>

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