diff options
author | claudio <> | 2015-10-23 13:09:19 +0000 |
---|---|---|
committer | claudio <> | 2015-10-23 13:09:19 +0000 |
commit | bed2ec7d52018eb5b18c05de7214aed29d127e01 (patch) | |
tree | c1ea5409812cdf61c97e07d7308d28642748532d /src/lib/libc/stdlib/a64l.3 | |
parent | 0fd5227c21b7cfc0efe665e836f6c917f30ef7a4 (diff) | |
download | openbsd-bed2ec7d52018eb5b18c05de7214aed29d127e01.tar.gz openbsd-bed2ec7d52018eb5b18c05de7214aed29d127e01.tar.bz2 openbsd-bed2ec7d52018eb5b18c05de7214aed29d127e01.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/lib/libc/stdlib/a64l.3')
0 files changed, 0 insertions, 0 deletions