HomeFreeBSD

security/nss: stop excessive getpid(2) calls

Description

security/nss: stop excessive getpid(2) calls

FreeBSD implements pthread_atfork(3) and (as required by a nearby
code comment) deregisters callbacks located in dlclose(3)ed shared
objects. Take advantage of it instead of looping with getpid(2).

Submitted by: cem
MFH: 2017Q1

Details

Provenance
jbeichAuthored on
Parents
rP434141: Update net-mgmt/prometheus to 1.5.2
Branches
Unknown
Tags
Unknown