HomeFreeBSD

libproc: Make proc_getpid() an accessor for struct proc_handle.

Description

libproc: Make proc_getpid() an accessor for struct proc_handle.

This allows librtld_db to fetch the PID from a handle without calling into
libproc. Together with r303531, this means that librtld_db no longer
references symbols from libproc.

Details

Provenance
markjAuthored on
Parents
rS309591: Fix style bugs and remove trailing whitespace in libproc and librtld_db.
Branches
Unknown
Tags
Unknown