cvs commit: src/sys/net if_tap.c if_tun.c src/share/man/man4 tap.4 tun.4

Bruce M Simpson bms at FreeBSD.org
Sun Feb 4 16:32:52 UTC 2007


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


More information about the cvs-src mailing list