diff options
author | claudio <> | 2015-10-23 13:09:19 +0000 |
---|---|---|
committer | claudio <> | 2015-10-23 13:09:19 +0000 |
commit | fbbeb39659d02bb968bbfbf1dd7200def1255ebd (patch) | |
tree | c1ea5409812cdf61c97e07d7308d28642748532d /src/regress/lib/libc/db/dbtest.c | |
parent | c82806a7e5b196fb801dc058799301df205737c7 (diff) | |
download | openbsd-fbbeb39659d02bb968bbfbf1dd7200def1255ebd.tar.gz openbsd-fbbeb39659d02bb968bbfbf1dd7200def1255ebd.tar.bz2 openbsd-fbbeb39659d02bb968bbfbf1dd7200def1255ebd.zip |
Switch if_nameindex(3) to use the new NET_RT_IFNAMES sysctl to get the
list of interface names. At the same time switch if_nametoindex(3) and
if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3).
if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by
pledge(2).
With and OK deraadt@
Diffstat (limited to 'src/regress/lib/libc/db/dbtest.c')
0 files changed, 0 insertions, 0 deletions