summaryrefslogtreecommitdiff
path: root/src/shared/switch-root.h
blob: 83294a4525e3c2b40afdb92f14066dc4a22d8c62 (plain)
1
2
3
4
5
6
7
8
9
10
/* 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);