2017-11-18 17:09:20 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
2013-11-18 16:58:43 +01:00
|
|
|
#pragma once
|
2012-05-21 19:33:39 +02:00
|
|
|
|
2015-12-03 21:13:37 +01:00
|
|
|
#include <stdbool.h>
|
2012-05-21 19:33:39 +02:00
|
|
|
/***
|
|
|
|
Copyright 2012 Harald Hoyer, Lennart Poettering
|
|
|
|
***/
|
|
|
|
|
2014-08-21 16:21:26 +02:00
|
|
|
int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags);
|