diff options
| author | Michael Brown | 2025-04-30 15:33:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-30 17:16:02 +0200 |
| commit | a169d73593f6c471857a694edc22809608c7d9c0 (patch) | |
| tree | a48ed79f82ea1a35a35fe33330c97ee9c75f6633 /src/image/elf.c | |
| parent | [image] Make image data read-only to most consumers (diff) | |
| download | ipxe-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.c | 1 |
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> /** |
