aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorTom Marshall <tdm.code@gmail.com>2020-01-16 13:07:04 -0800
committerdoc HD <doc.divxm@gmail.com>2020-02-06 21:46:09 +0300
commitbaee43d5a2b6b29c8e0634bc2877d6b2a54fa401 (patch)
tree241cbcab1bc3a12706d6edd6f9b4d65a0e7b8ebc /libc/malloc_hooks/malloc_hooks.cpp
parentbd8037dafcd34a07cbabfee453d4d65ee222609c (diff)
bionic: Support wildcards in cached hosts file
If an exact name is not found in the hosts file and the host name contains at least one dot, search for entries of the form "*.domain", where domain is the portion of the host name after the first dot. If that is not found, repeat using the domain. Example: a.b.c.example.com would search for the following in turn: a.b.c.example.com *.b.c.example.com *.c.example.com *.example.com *.com Change-Id: I4b0bb81699151d5b371850daebf785e35ec9b180
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions