summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc
diff options
context:
space:
mode:
authorclaudio <>2015-10-23 13:09:19 +0000
committerclaudio <>2015-10-23 13:09:19 +0000
commitfbbeb39659d02bb968bbfbf1dd7200def1255ebd (patch)
treec1ea5409812cdf61c97e07d7308d28642748532d /src/regress/lib/libc
parentc82806a7e5b196fb801dc058799301df205737c7 (diff)
downloadopenbsd-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')
0 files changed, 0 insertions, 0 deletions