Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-13
/
.
/
src
/
shared
/
switch-root.h
blob: 83294a4525e3c2b40afdb92f14066dc4a22d8c62 [
file
] [
log
] [
blame
] [
raw
]
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma
once
/***
Copyright © 2012 Harald Hoyer
***/
#include
<stdbool.h>
int
switch_root
(
const
char
*
new_root
,
const
char
*
oldroot
,
bool
detach_oldroot
,
unsigned
long
mountflags
);