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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthias Schmidt
Date: Friday, March 14, 2008 - 2:52 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cvs commit: src/sys/net bpf.c bpf.h bpfdesc.h, Matthias Schmidt, (Fri Mar 14, 2:52 am)
Re: cvs commit: src/sys/net bpf.c bpf.h bpfdesc.h, Sascha Wildner, (Fri Mar 14, 2:59 am)