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

Matthias Schmidt matthias at
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 
  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

More information about the Commits mailing list