tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Patch to implement SIOCGIFINDEX



In article <20130401232332.GA31544%britannica.bec.de@localhost>,
Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
>On Mon, Apr 01, 2013 at 07:13:30PM -0400, Ty Sarna wrote:
>> The following short patch implements SIOCGIFINDEX as found on Linux
>> (and maybe elsewhere), which translates an interface name to its index.
>
>If we want this, it should at least also be included in the Linux
>emulation.

I would only implement it for the emulation, because it suffers from TOCTOU.

christos



Home | Main Index | Thread Index | Old Index