]>
Commit | Line | Data |
---|---|---|
53e1b683 | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
b2bb40ce MR |
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 | |
96b2fb93 | 14 | * Copyright © 2017 Max Resch <resch.max@gmail.com> |
b2bb40ce MR |
15 | * |
16 | * Security Policy Handling | |
96b2fb93 | 17 | * Copyright © 2012 <James.Bottomley@HansenPartnership.com> |
b2bb40ce MR |
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 |