]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/boot/efi/shim.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / boot / efi / shim.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 /*
3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation; either version 2.1 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * Port to systemd-boot
14 * Copyright 2017 Max Resch <resch.max@gmail.com>
15 *
16 * Security Policy Handling
17 * Copyright 2012 <James.Bottomley@HansenPartnership.com>
18 * https://github.com/mjg59/efitools
19 */
20
21 #ifndef __SDBOOT_SHIM_H
22 #define __SDBOOT_SHIM_H
23
24 BOOLEAN shim_loaded(void);
25
26 BOOLEAN secure_boot_enabled(void);
27
28 EFI_STATUS security_policy_install(void);
29
30 EFI_STATUS security_policy_uninstall(void);
31
32 #endif