HomeFreeBSD

linux(4): Validate exec_setregs on arm64

Description

linux(4): Validate exec_setregs on arm64

The lr register is cleared at the beginning of the _dl_start and _start,
so there is no need to initialize it.
Gnu libc _start takes an rtld_fini pointer in x0 which is set by ld.so
for __libc_start_main, the kernel does not register any atexit pointers.

While here fix whitespaces.

MFC after: 1 week

(cherry picked from commit 20845a6994c548977874d1f413044d43c8474f0a)

Details

Provenance
dchaginAuthored on Sep 5 2023, 6:19 PM
Parents
rGc76dfb929e70: vfs: fix reference counting/locking on LK_UPGRADE error
Branches
Unknown
Tags
Unknown