summaryrefslogtreecommitdiff
path: root/lib/libc/hidden/dirent.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2015-10-23 13:09:20 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2015-10-23 13:09:20 +0000
commit7014fe1ec6b3e2ebaad701c55b928dc8cf00f03e (patch)
treee048172cff01d7638fdfeee42be3339027137cc2 /lib/libc/hidden/dirent.h
parentfc06a5c531155c38f4ed9b246cc36aacf50d031b (diff)
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 'lib/libc/hidden/dirent.h')
0 files changed, 0 insertions, 0 deletions