CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/05/30 02:54:30
Modified files:
sys/kern : exec_elf.c
Log message:
Handle sections that specify alignment as 0 when loading an ELF interpreter
(i.e. ld.so). Since the smallest possible alignment actually is a the
page size just start with that and only increase it if a larger alignment
is requested. Also reject interpreters without loadable segments, just
like we did for ld.so a few weeks ago.
Distilled from a report by Andrew Griffiths.
ok jsg@, deraadt@