git: DragonFly_RELEASE_6_0 kernel - Add SIOCGHWADDR, fix SIOCGIFADDR

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


commit 4db6bcb471282e5ee9a8ae968b8f966d7448346d
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/4db6bcb471282e5ee9a8ae968b8f966d7448346d


-- 
DragonFly BSD source repository



More information about the Commits mailing list