lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE4R7bBit0e2xzKOa1KVsGMguDR0MMHtgTbOFdBg0=i-EPe6Hg@mail.gmail.com>
Date:	Mon, 16 Mar 2015 22:59:28 -0700
From:	Scott Feldman <sfeldma@...il.com>
To:	David Ahern <dsahern@...il.com>
Cc:	Netdev <netdev@...r.kernel.org>, Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH v2 1/3] net: add support for phys_port_name

On Mon, Mar 16, 2015 at 8:27 PM, David Ahern <dsahern@...il.com> wrote:
> Similar to port id allow netdevices to specify port names and export
> the name via sysfs. Drivers can implement the netdevice operation to
> assist udev in having sane default names for the devices using the
> rule:
>
> $ cat /etc/udev/rules.d/80-net-setup-link.rules
> SUBSYSTEM=="net", ACTION=="add", ATTR{phys_port_name}!="",
> NAME="$attr{phys_port_name}"
>
> Use of phys_name versus phys_id was suggested-by Jiri Pirko.
>
> v2:
> - replaced netdev_phys_item_name with buffer and length per Jiri's comment
>
> Signed-off-by: David Ahern <dsahern@...il.com>
> Cc: Jiri Pirko <jiri@...nulli.us>
> Cc: Scott Feldman <sfeldma@...il.com>


Acked-by: Scott Feldman <sfeldma@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ