summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2026-01-14 14:25:34 +0100
committerMichael Brown2026-01-14 14:25:34 +0100
commit6cccb3bdc00359068c07125258d71ce24db5118a (patch)
tree11120ed933b1846fadc4eaf543d35d1098e95803 /src/net
parent[build] Check for standalone FILE_LICENCE() and FILE_SECBOOT() declarations (diff)
downloadipxe-6cccb3bdc00359068c07125258d71ce24db5118a.tar.gz
ipxe-6cccb3bdc00359068c07125258d71ce24db5118a.tar.xz
ipxe-6cccb3bdc00359068c07125258d71ce24db5118a.zip
[build] Mark core files as permitted for UEFI Secure Boot
Mark all files used in a standard build of bin-x86_64-efi/snponly.efi as permitted for UEFI Secure Boot. These files represent the core functionality of iPXE that is guaranteed to have been included in every binary that was previously subject to a security review and signed by Microsoft. It is therefore legitimate to assume that at least these files have already been reviewed to the required standard multiple times. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/aoe.c1
-rw-r--r--src/net/arp.c1
-rw-r--r--src/net/dhcpopts.c1
-rw-r--r--src/net/dhcppkt.c1
-rw-r--r--src/net/eap.c1
-rw-r--r--src/net/eap_md5.c1
-rw-r--r--src/net/eapol.c1
-rw-r--r--src/net/eth_slow.c1
-rw-r--r--src/net/ethernet.c1
-rw-r--r--src/net/fakedhcp.c1
-rw-r--r--src/net/fragment.c1
-rw-r--r--src/net/icmp.c1
-rw-r--r--src/net/icmpv4.c1
-rw-r--r--src/net/icmpv6.c1
-rw-r--r--src/net/iobpad.c1
-rw-r--r--src/net/ipv4.c1
-rw-r--r--src/net/ipv6.c1
-rw-r--r--src/net/lldp.c1
-rw-r--r--src/net/ndp.c1
-rw-r--r--src/net/neighbour.c1
-rw-r--r--src/net/netdev_settings.c1
-rw-r--r--src/net/netdevice.c1
-rw-r--r--src/net/nullnet.c1
-rw-r--r--src/net/retry.c1
-rw-r--r--src/net/socket.c1
-rw-r--r--src/net/stp.c1
-rw-r--r--src/net/tcp.c1
-rw-r--r--src/net/tcp/http.c1
-rw-r--r--src/net/tcp/httpauth.c1
-rw-r--r--src/net/tcp/httpbasic.c1
-rw-r--r--src/net/tcp/httpblock.c1
-rw-r--r--src/net/tcp/httpconn.c1
-rw-r--r--src/net/tcp/httpcore.c1
-rw-r--r--src/net/tcp/httpdigest.c1
-rw-r--r--src/net/tcp/iscsi.c1
-rw-r--r--src/net/tcpip.c1
-rw-r--r--src/net/udp.c1
-rw-r--r--src/net/udp/dhcp.c1
-rw-r--r--src/net/udp/dhcpv6.c1
-rw-r--r--src/net/udp/dns.c1
-rw-r--r--src/net/udp/tftp.c1
-rw-r--r--src/net/vlan.c1
42 files changed, 42 insertions, 0 deletions
diff --git a/src/net/aoe.c b/src/net/aoe.c
index b484bdd33..edeb81867 100644
--- a/src/net/aoe.c
+++ b/src/net/aoe.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stddef.h>
#include <string.h>
diff --git a/src/net/arp.c b/src/net/arp.c
index c9b4109a9..2bf3c12ec 100644
--- a/src/net/arp.c
+++ b/src/net/arp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c
index cdb632b46..844a94d62 100644
--- a/src/net/dhcpopts.c
+++ b/src/net/dhcpopts.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/dhcppkt.c b/src/net/dhcppkt.c
index 4e64f85e4..a9b454695 100644
--- a/src/net/dhcppkt.c
+++ b/src/net/dhcppkt.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/eap.c b/src/net/eap.c
index 87327d723..040566b57 100644
--- a/src/net/eap.c
+++ b/src/net/eap.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdlib.h>
#include <errno.h>
diff --git a/src/net/eap_md5.c b/src/net/eap_md5.c
index 0664174f9..1e263c8ec 100644
--- a/src/net/eap_md5.c
+++ b/src/net/eap_md5.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdlib.h>
#include <string.h>
diff --git a/src/net/eapol.c b/src/net/eapol.c
index 0c573d198..d83d63386 100644
--- a/src/net/eapol.c
+++ b/src/net/eapol.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <string.h>
#include <assert.h>
diff --git a/src/net/eth_slow.c b/src/net/eth_slow.c
index 1103a49f3..fb4e0d972 100644
--- a/src/net/eth_slow.c
+++ b/src/net/eth_slow.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdlib.h>
#include <string.h>
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index 3fcdafe6d..60219b98f 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/fakedhcp.c b/src/net/fakedhcp.c
index 009b12c56..0020d8225 100644
--- a/src/net/fakedhcp.c
+++ b/src/net/fakedhcp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/fragment.c b/src/net/fragment.c
index 781b9bc60..4976167ed 100644
--- a/src/net/fragment.c
+++ b/src/net/fragment.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/icmp.c b/src/net/icmp.c
index 5371277e4..740b42440 100644
--- a/src/net/icmp.c
+++ b/src/net/icmp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <string.h>
#include <byteswap.h>
diff --git a/src/net/icmpv4.c b/src/net/icmpv4.c
index 0858ff37f..ffcc4b375 100644
--- a/src/net/icmpv4.c
+++ b/src/net/icmpv4.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <string.h>
#include <errno.h>
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c
index 8555aaf0b..5331b81e8 100644
--- a/src/net/icmpv6.c
+++ b/src/net/icmpv6.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <string.h>
#include <errno.h>
diff --git a/src/net/iobpad.c b/src/net/iobpad.c
index 936b4bde4..6366efb5e 100644
--- a/src/net/iobpad.c
+++ b/src/net/iobpad.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index 21abfccec..f3dd44384 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -49,6 +49,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/* Unique IP datagram identification number (high byte) */
static uint8_t next_ident_high = 0;
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index b12d6577e..7e908dd2a 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -18,6 +18,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdio.h>
diff --git a/src/net/lldp.c b/src/net/lldp.c
index 2b707c874..d0e990f23 100644
--- a/src/net/lldp.c
+++ b/src/net/lldp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/** @file
*
diff --git a/src/net/ndp.c b/src/net/ndp.c
index 3c555f4a3..6d96270c1 100644
--- a/src/net/ndp.c
+++ b/src/net/ndp.c
@@ -18,6 +18,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER );
+FILE_SECBOOT ( PERMITTED );
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/neighbour.c b/src/net/neighbour.c
index ac79041e3..fa8fba5cd 100644
--- a/src/net/neighbour.c
+++ b/src/net/neighbour.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/netdev_settings.c b/src/net/netdev_settings.c
index 90b804c6c..8bc8ce57b 100644
--- a/src/net/netdev_settings.c
+++ b/src/net/netdev_settings.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <string.h>
#include <errno.h>
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index c89585708..0af916ff5 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/nullnet.c b/src/net/nullnet.c
index 2948b38c0..c665b203a 100644
--- a/src/net/nullnet.c
+++ b/src/net/nullnet.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <errno.h>
diff --git a/src/net/retry.c b/src/net/retry.c
index 734567be5..c13ecb6b1 100644
--- a/src/net/retry.c
+++ b/src/net/retry.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stddef.h>
#include <ipxe/timer.h>
diff --git a/src/net/socket.c b/src/net/socket.c
index 2009ab237..6fed73128 100644
--- a/src/net/socket.c
+++ b/src/net/socket.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stddef.h>
#include <errno.h>
diff --git a/src/net/stp.c b/src/net/stp.c
index 3d78400af..d1b0d4862 100644
--- a/src/net/stp.c
+++ b/src/net/stp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <errno.h>
#include <byteswap.h>
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 2e52cf480..f08db5250 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -28,6 +28,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/** A TCP connection */
struct tcp_connection {
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c
index b000ed80f..16cfd035e 100644
--- a/src/net/tcp/http.c
+++ b/src/net/tcp/http.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/httpauth.c b/src/net/tcp/httpauth.c
index 2c57e3d48..d682c5f8f 100644
--- a/src/net/tcp/httpauth.c
+++ b/src/net/tcp/httpauth.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/httpbasic.c b/src/net/tcp/httpbasic.c
index 52a67063d..4dffc7e0f 100644
--- a/src/net/tcp/httpbasic.c
+++ b/src/net/tcp/httpbasic.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/httpblock.c b/src/net/tcp/httpblock.c
index 8eff1942c..14398869e 100644
--- a/src/net/tcp/httpblock.c
+++ b/src/net/tcp/httpblock.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/httpconn.c b/src/net/tcp/httpconn.c
index 538c4dcf6..4b99209f0 100644
--- a/src/net/tcp/httpconn.c
+++ b/src/net/tcp/httpconn.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/httpcore.c b/src/net/tcp/httpcore.c
index 8fee0421c..912bea407 100644
--- a/src/net/tcp/httpcore.c
+++ b/src/net/tcp/httpcore.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/httpdigest.c b/src/net/tcp/httpdigest.c
index 4074078c7..8ff6dbfa5 100644
--- a/src/net/tcp/httpdigest.c
+++ b/src/net/tcp/httpdigest.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* @file
diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c
index b7b33a51a..0d1f0f645 100644
--- a/src/net/tcp/iscsi.c
+++ b/src/net/tcp/iscsi.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stddef.h>
#include <string.h>
diff --git a/src/net/tcpip.c b/src/net/tcpip.c
index cc7d02005..5ed3d68a9 100644
--- a/src/net/tcpip.c
+++ b/src/net/tcpip.c
@@ -18,6 +18,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* Process a received TCP/IP packet
diff --git a/src/net/udp.c b/src/net/udp.c
index 2c0b343dc..41aba2fca 100644
--- a/src/net/udp.c
+++ b/src/net/udp.c
@@ -18,6 +18,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/**
* A UDP connection
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c
index daa37b96b..59b7c663d 100644
--- a/src/net/udp/dhcp.c
+++ b/src/net/udp/dhcp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <string.h>
#include <stdlib.h>
diff --git a/src/net/udp/dhcpv6.c b/src/net/udp/dhcpv6.c
index a49109894..43a569d6e 100644
--- a/src/net/udp/dhcpv6.c
+++ b/src/net/udp/dhcpv6.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdlib.h>
#include <stdio.h>
diff --git a/src/net/udp/dns.c b/src/net/udp/dns.c
index f46eeb5c8..3f534b99f 100644
--- a/src/net/udp/dns.c
+++ b/src/net/udp/dns.c
@@ -25,6 +25,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c
index 2ee01862a..760af10e9 100644
--- a/src/net/udp/tftp.c
+++ b/src/net/udp/tftp.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/net/vlan.c b/src/net/vlan.c
index c61bb850e..f7697a9be 100644
--- a/src/net/vlan.c
+++ b/src/net/vlan.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <string.h>