summaryrefslogtreecommitdiffstats
path: root/src/image/elf.c
diff options
context:
space:
mode:
authorMichael Brown2025-04-30 15:33:57 +0200
committerMichael Brown2025-04-30 17:16:02 +0200
commita169d73593f6c471857a694edc22809608c7d9c0 (patch)
treea48ed79f82ea1a35a35fe33330c97ee9c75f6633 /src/image/elf.c
parent[image] Make image data read-only to most consumers (diff)
downloadipxe-a169d73593f6c471857a694edc22809608c7d9c0.tar.gz
ipxe-a169d73593f6c471857a694edc22809608c7d9c0.tar.xz
ipxe-a169d73593f6c471857a694edc22809608c7d9c0.zip
[uaccess] Reduce scope of included uaccess.h header
The uaccess.h header is no longer required for any code that touches external ("user") memory, since such memory accesses are now performed through pointer dereferences. Reduce the number of files including this header. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image/elf.c')
-rw-r--r--src/image/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image/elf.c b/src/image/elf.c
index 97e07f37f..8cbb610a6 100644
--- a/src/image/elf.c
+++ b/src/image/elf.c
@@ -38,6 +38,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <elf.h>
#include <ipxe/segment.h>
#include <ipxe/image.h>
+#include <ipxe/uaccess.h>
#include <ipxe/elf.h>
/**