summaryrefslogtreecommitdiff
path: root/include/linux/secure_boot.h
blob: 3ded3f03655c354e8cf96dc69d691b0b3a4c0308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2026 Red Hat, Inc. All Rights Reserved.
 *
 * Author: Coiby Xu <coxu@redhat.com>
 */

#ifndef _LINUX_SECURE_BOOT_H
#define _LINUX_SECURE_BOOT_H

#include <linux/types.h>

/*
 * Returns true if the platform secure boot is enabled.
 * Returns false if disabled or not supported.
 */
bool arch_get_secureboot(void);

#endif /* _LINUX_SECURE_BOOT_H */