1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include <stdbool.h>
5 
6 int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags);
7