diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-10-23 13:09:20 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-10-23 13:09:20 +0000 |
commit | 7014fe1ec6b3e2ebaad701c55b928dc8cf00f03e (patch) | |
tree | e048172cff01d7638fdfeee42be3339027137cc2 /lib/libc/hidden/dirent.h | |
parent | fc06a5c531155c38f4ed9b246cc36aacf50d031b (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