]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/switch-root.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / shared / switch-root.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
05d3a176 2#pragma once
41669317 3
a8fbdf54 4#include <stdbool.h>
41669317
LP
5/***
6 This file is part of systemd.
7
8 Copyright 2012 Harald Hoyer, Lennart Poettering
9
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
14
15 systemd is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
19
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
22***/
23
5a4bf02f 24int switch_root(const char *new_root, const char *oldroot, bool detach_oldroot, unsigned long mountflags);