git: drm: simplify authentication management

2018-07-31 Thread Francois Tigeot


commit c90492810f56e1f820f5df990e3718c512424be9
Author: François Tigeot 
Date:   Tue Jul 31 23:04:04 2018 +0200

drm: simplify authentication management

Summary of changes:
 sys/dev/drm/drm_auth.c | 132 +++--
 sys/dev/drm/drm_fops.c |  12 ++--
 sys/dev/drm/include/drm/drmP.h |  10 +---
 3 files changed, 33 insertions(+), 121 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c90492810f56e1f820f5df990e3718c512424be9


-- 
DragonFly BSD source repository


git: if_tun: Clean up tunioctl()

2018-07-31 Thread Aaron LI


commit a50e0e62c76c85f67283f9bce5cf9021d64ae2c7
Author: Aaron LI 
Date:   Tue Jul 31 19:43:48 2018 +0800

if_tun: Clean up tunioctl()

Introduce a variable 'caddr_t data' to make code cleaner.  Also improve
the switch flow a bit.

Based on: if_tap.c

Summary of changes:
 sys/net/tun/if_tun.c | 45 +
 1 file changed, 25 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a50e0e62c76c85f67283f9bce5cf9021d64ae2c7


-- 
DragonFly BSD source repository


git: if_tun: Add TUNGIFNAME ioctl to get the interface name

2018-07-31 Thread Aaron LI


commit 0df03f127ea71fb9dbcedbdc065f211514feefdf
Author: Aaron LI 
Date:   Tue Jul 31 19:47:37 2018 +0800

if_tun: Add TUNGIFNAME ioctl to get the interface name

This ioctl helps to get the name of the network interface associated
with the tun control device via its file descriptor.  One generally
obtains such a file descriptor by opening the tun autocloner (i.e.,
/dev/tun).  While the devname(3) or fdevname(3) functions can be used
to determine the name of the actually created tun device, but there is
no easy way to get the name of the associated network interface, which
is though initially the same as the device name but can be renamed.

Bump __DragonFly_version and update tun.4 man page.

See also the relevant Linux patch that added TUNGETIFF to tun:

https://lists.linuxfoundation.org/pipermail/virtualization/2008-August/011546.html

Summary of changes:
 share/man/man4/tun.4 | 10 +-
 sys/net/tun/if_tun.c |  6 ++
 sys/net/tun/if_tun.h |  5 -
 sys/sys/param.h  |  3 ++-
 4 files changed, 21 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0df03f127ea71fb9dbcedbdc065f211514feefdf


-- 
DragonFly BSD source repository


git: if_tap: Remove the unnecessary forward declaration in if_tap.h

2018-07-31 Thread Aaron LI


commit 5b60e9a77859ef101953a2cd02eebd630d8387d0
Author: Aaron LI 
Date:   Tue Jul 31 19:59:45 2018 +0800

if_tap: Remove the unnecessary forward declaration in if_tap.h

Summary of changes:
 sys/net/tap/if_tap.h | 2 --
 1 file changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b60e9a77859ef101953a2cd02eebd630d8387d0


-- 
DragonFly BSD source repository