HomeFreeBSD

rtld: Add UTRACE_LOAD_OBJECT traces for rtld and the main binary

Description

rtld: Add UTRACE_LOAD_OBJECT traces for rtld and the main binary

These two objects are loaded by the kernel not rtld, but adding these
two traces means that UTRACE_LOAD_OBJECT traces now describe the
mappings for all executables and DSOs in a process' address space.

Reviewed by: kib
Obtained from: CheriBSD
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D52034

Details

Provenance
jhbAuthored on Aug 22 2025, 1:59 PM
Reviewer
kib
Differential Revision
D52034: rtld: Add UTRACE_LOAD_OBJECT traces for rtld and the main binary
Parents
rGe679319b840e: rtld: Compute obj->maxsize for obj_rtld
Branches
Unknown
Tags
Unknown