git: vendor/DHCPCD Update to dhcpcd-9.1.2 with the following changes:

Roy Marples roy at crater.dragonflybsd.org
Tue Jun 16 01:46:00 PDT 2020


commit 7f8103cd6117aa6e0a3477a357c138ad32da2540
Author: Roy Marples <roy at marples.name>
Date:   Tue Jun 16 08:43:31 2020 +0000

    Update to dhcpcd-9.1.2 with the following changes:
    
     * BSD: Only mark static routes from dhcpcd.conf as static
     * DHCP6: Ensure requested addresses are requested
     * DHCP6: Fix prefix length calculation when no prefix specified
    
     * privsep: Implement a resource limited sandbox
    
    You will see a control proxy process now.
    This is for the resource limited sandbox so that we can isolate
    requests over the control socket.
    For NetBSD, FreeBSD and derivatives such as DragonFlyBSD this is a massive win
    as these OS now enjoy a similar level of protection as Capsicum or Pledge,
    but without the syscall filtering.

Summary of changes:
 contrib/dhcpcd/src/arp.c                         |   7 -
 contrib/dhcpcd/src/arp.h                         |   1 -
 contrib/dhcpcd/src/bpf.c                         |   8 +
 contrib/dhcpcd/src/control.c                     | 296 ++++++++++++++-------
 contrib/dhcpcd/src/control.h                     |  14 +-
 contrib/dhcpcd/src/defs.h                        |   2 +-
 contrib/dhcpcd/src/dhcp6.c                       |  15 +-
 contrib/dhcpcd/src/dhcpcd.c                      | 293 ++++++++++----------
 contrib/dhcpcd/src/dhcpcd.h                      |  13 +
 contrib/dhcpcd/src/eloop.c                       |  39 ++-
 contrib/dhcpcd/src/eloop.h                       |   1 +
 contrib/dhcpcd/src/if-bsd.c                      |  80 ++++--
 contrib/dhcpcd/src/if-options.c                  |  10 +-
 contrib/dhcpcd/src/if-options.h                  |   2 +-
 contrib/dhcpcd/src/if.c                          |  41 +--
 contrib/dhcpcd/src/if.h                          |   1 +
 contrib/dhcpcd/src/ipv4ll.c                      |   3 +
 contrib/dhcpcd/src/ipv6nd.c                      |   6 +-
 contrib/dhcpcd/src/logerr.c                      |   3 +
 contrib/dhcpcd/src/privsep-bsd.c                 |  30 +++
 contrib/dhcpcd/src/privsep-control.c             | 323 +++++++++++++++++++++++
 contrib/dhcpcd/src/{duid.h => privsep-control.h} |  19 +-
 contrib/dhcpcd/src/privsep-inet.c                |  68 ++---
 contrib/dhcpcd/src/privsep-root.c                |  37 ++-
 contrib/dhcpcd/src/privsep-root.h                |   8 +-
 contrib/dhcpcd/src/privsep.c                     | 200 ++++++++++++--
 contrib/dhcpcd/src/privsep.h                     |  28 +-
 contrib/dhcpcd/src/script.c                      |   5 +-
 28 files changed, 1135 insertions(+), 418 deletions(-)
 create mode 100644 contrib/dhcpcd/src/privsep-control.c
 copy contrib/dhcpcd/src/{duid.h => privsep-control.h} (77%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7f8103cd6117aa6e0a3477a357c138ad32da2540


-- 
DragonFly BSD source repository


More information about the Commits mailing list