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 Mar 4 14:34:42 UTC 2007


bms         2007-03-04 14:34:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_tun.c if_tap.c 
    share/man/man4       tap.4 tun.4 
  Log:
  MFC:
    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.
  
    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
  
  PR:             105228 (potentially also 90413, 105570)
  Submitted by:   Landon Fuller
  Tested by:      Andrej Tobola
  Approved by:    core (rwatson)
  
  Revision   Changes    Path
  1.17.2.1   +32 -5     src/share/man/man4/tap.4
  1.21.2.2   +33 -4     src/share/man/man4/tun.4
  1.55.2.9   +137 -36   src/sys/net/if_tap.c
  1.152.2.6  +95 -29    src/sys/net/if_tun.c


More information about the cvs-src mailing list