Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Apr 2014 16:23:10 +0200
From: Natanael Copa <>
Subject: Re: if_nameindex/getifaddrs and dhcpcd issue

On Tue, 8 Apr 2014 15:25:59 +0300
Timo Teras <> wrote:

> IMHO, if someone wants to be linux compatible today, it's easier to
> implement the netlink stuff; than the /proc stuff. /proc has equally
> linux specific things in it and is mainly intended to be human
> readable with few exceptions. /sys would be better option as it's
> inteded to be machine readable, but it's still text too. 

But /sys is not claimed to be stable so location can move around.
Not sure we can use it for network interfaces.

Basically we want wants in /sys/class/net but sysfs-rules says thats
kernel implementation details and might change.

We could probably scan /sys/device for dirs named 'net' but that's not
prettier than /proc.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.