]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/switch-root.h
0ae5205f77d7a854d8cfcb3c36c4c0baa7fe353d
[thirdparty/systemd.git] / src / shared / switch-root.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <stdbool.h>
5 /***
6 This file is part of systemd.
7
8 Copyright 2012 Harald Hoyer, Lennart Poettering
9 ***/
10
11 int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags);