cvs commit: src/sys/net bpf.c bpf.h bpfdesc.h

Matthias Schmidt matthias at crater.dragonflybsd.org
Fri Mar 14 02:53:45 PDT 2008


matthias    2008/03/14 02:52:10 PDT

DragonFly src repository

  Modified files:
    sys/net              bpf.c bpf.h bpfdesc.h 
  Log:
  Introduce two new ioctl(2) commands, BIOCLOCK and BIOCSETWF. These commands
  enhance the security of bpf(4) by further relinquishing the privilege of
  the bpf(4) consumer (assuming the ioctl commands are being implemented).
  
  This change is needed to properly support some programs from OpenBSD, such
  as pflogd and dhclient.
  
  Reviewed-by: sephe@
  Obtained-from: OpenBSD via FreeBSD
  
  Revision  Changes    Path
  1.44      +77 -21    src/sys/net/bpf.c
  1.12      +2 -0      src/sys/net/bpf.h
  1.6       +3 -1      src/sys/net/bpfdesc.h


http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.c.diff?r1=1.43&r2=1.44&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.h.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/bpfdesc.h.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list