]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't call dlopen(3) for built-in NSS types - "cache", "compat",
authortrasz <trasz@FreeBSD.org>
Mon, 15 Oct 2018 17:50:02 +0000 (17:50 +0000)
committertrasz <trasz@FreeBSD.org>
Mon, 15 Oct 2018 17:50:02 +0000 (17:50 +0000)
commitd03a843143f76432960ef84e5ec2fce068561ac3
treed3032d673ca312050f5a75e1c587b7b5b01ad7f5
parent118dce4d6b4d441b2cb4c2b7c820588dfe71521a
Don't call dlopen(3) for built-in NSS types - "cache", "compat",
"dns", "files", "db", and "nis". It saves some path lookups during
binary startup.

Reviewed by: markj
Approved by: re (gjb, kib)
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D17557
lib/libc/net/nsdispatch.3
lib/libc/net/nsdispatch.c