]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't call dlopen(3) for built-in NSS types - "cache", "compat",
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Mon, 15 Oct 2018 17:50:02 +0000 (17:50 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Mon, 15 Oct 2018 17:50:02 +0000 (17:50 +0000)
commit1d7da823b49459aab466de4614b1895e917df3da
treed3032d673ca312050f5a75e1c587b7b5b01ad7f5
parent3f74c0272eaf1a4455c94db9fc2f5ed812d04020
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