HomeFreeBSD

linux(4): Deduplicate linux_fixup_elf().

Description

linux(4): Deduplicate linux_fixup_elf().

Use native routines to fixup initial process stack. On Arm64 linux_elf_fixup() is
noop, as it do the stack fixup (room for argc) in the linux_copyout_strings().

MFC after: 1 week

(cherry picked from commit 9e550625f867a23ea3d87a77aa3c216b79ecd790)

Details

Provenance
dchaginAuthored on Feb 2 2023, 2:58 PM
Parents
rGb8c62b5a07e3: linux(4): Add coredump support to i386.
Branches
Unknown
Tags
Unknown