mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-04 20:06:30 +02:00
[build] Mark GDB stub as forbidden for UEFI Secure Boot
Enabling the GDB debugger functionality would provide an immediate and trivial Secure Boot exploit. Mark all GDB-related files as explicitly forbidden for UEFI Secure Boot. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
03a906a9f3
commit
4db03054d5
@ -1,3 +1,5 @@
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
/*
|
||||
* Interrupt handlers for GDB stub
|
||||
*/
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef unsigned long gdbreg_t;
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
/** @file
|
||||
*
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef unsigned long gdbreg_t;
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef unsigned long gdbreg_t;
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
struct gdb_transport;
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
#include <stdint.h>
|
||||
#include <ipxe/tables.h>
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
FILE_SECBOOT ( FORBIDDEN );
|
||||
|
||||
struct sockaddr_in;
|
||||
struct gdb_transport;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user