git: kernel - Add SIOCGHWADDR, fix SIOCGIFADDR

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 30 16:44:32 PST 2021


commit 7195ced1912fa8f0a50a0e4128dda9f623a46731
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 30 16:40:59 2021 -0800

    kernel - Add SIOCGHWADDR, fix SIOCGIFADDR
    
    * Add SIOCGHWADDR, this is more commonly used to obtain the
      ether mac address of an interface these days.
    
    * Fix SIOCGIFADDR which had a security problem with a data field.

Summary of changes:
 sys/net/if_ethersubr.c | 5 +++--
 sys/sys/sockio.h       | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7195ced1912fa8f0a50a0e4128dda9f623a46731


-- 
DragonFly BSD source repository


More information about the Commits mailing list