iPXE
Macros
UEFI Secure Boot restrictions

Not all files within the iPXE codebase are allowed to be included in UEFI Secure Boot signed builds. More...

Macros

#define FILE_SECBOOT_PERMITTED   PROVIDE_SYMBOL ( PREFIX_OBJECT ( __secboot__permitted__ ) )
 Declare a file as being permitted in a UEFI Secure Boot build. More...
 
#define FILE_SECBOOT_FORBIDDEN   PROVIDE_SYMBOL ( PREFIX_OBJECT ( __secboot__forbidden__ ) )
 Declare a file as being forbidden in a UEFI Secure Boot build. More...
 
#define FILE_SECBOOT(_status)   FILE_SECBOOT_ ## _status
 Declare a file's UEFI Secure Boot permission status. More...
 

Detailed Description

Not all files within the iPXE codebase are allowed to be included in UEFI Secure Boot signed builds.

Files that are permitted in a UEFI Secure Boot build are subject to stricter code review requirements. In particular, contributions from third parties may not be marked as permitted unless they have passed an approved security review.

Macro Definition Documentation

◆ FILE_SECBOOT_PERMITTED

#define FILE_SECBOOT_PERMITTED   PROVIDE_SYMBOL ( PREFIX_OBJECT ( __secboot__permitted__ ) )

Declare a file as being permitted in a UEFI Secure Boot build.

Definition at line 918 of file compiler.h.

◆ FILE_SECBOOT_FORBIDDEN

#define FILE_SECBOOT_FORBIDDEN   PROVIDE_SYMBOL ( PREFIX_OBJECT ( __secboot__forbidden__ ) )

Declare a file as being forbidden in a UEFI Secure Boot build.

Definition at line 922 of file compiler.h.

◆ FILE_SECBOOT

#define FILE_SECBOOT (   _status)    FILE_SECBOOT_ ## _status

Declare a file's UEFI Secure Boot permission status.

Definition at line 926 of file compiler.h.