Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2007 16:32:47 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_tap.c if_tun.c src/share/man/man4 tap.4 tun.4
Message-ID:  <200702041632.l14GWlwX033519@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bms         2007-02-04 16:32:46 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_tap.c if_tun.c 
    share/man/man4       tap.4 tun.4 
  Log:
  Implement ifnet cloning for tun(4)/tap(4).
  Make devfs cloning a sysctl/tunable which defaults to on.
  
  If devfs cloning is enabled, only the super-user may create
  tun(4)/tap(4)/vmnet(4) instances. Devfs cloning is still enabled by
  default; it may be disabled from the loader or via sysctl with
  "net.link.tap.devfs_cloning" and "net.link.tun.devfs_cloning".
  
  Disabling its use affects potentially all tun(4)/tap(4) consumers
  including OpenSSH, OpenVPN and VMware.
  
  PR:             105228 (potentially also 90413, 105570)
  Submitted by:   Landon Fuller
  Tested by:      Andrej Tobola
  Approved by:    core (rwatson)
  MFC after:      4 weeks
  
  Revision  Changes    Path
  1.18      +32 -5     src/share/man/man4/tap.4
  1.24      +33 -4     src/share/man/man4/tun.4
  1.69      +126 -32   src/sys/net/if_tap.c
  1.162     +77 -7     src/sys/net/if_tun.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702041632.l14GWlwX033519>