]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libproc: Make proc_getpid() an accessor for struct proc_handle.
authormarkj <markj@FreeBSD.org>
Tue, 6 Dec 2016 04:14:20 +0000 (04:14 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 6 Dec 2016 04:14:20 +0000 (04:14 +0000)
commit6d8ec2586741586af61beb9cadab7ba1e4514606
treeff0f35120f15f5ee3ae0fa94f3512c8f52ab66ae
parentb01fc06ffd5362091d566fc4ecf242db124b361f
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.
lib/libproc/_libproc.h
lib/libproc/libproc.h
lib/libproc/proc_create.c
lib/libproc/proc_sym.c
lib/libproc/proc_util.c