OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Artur Grabowski (artcvs.openbsd.org)
Date: Sat Mar 24 2007 - 11:01:22 CDT


CVSROOT: /cvs
Module name: src
Changes by: artcvs.openbsd.org 2007/03/24 10:01:22

Modified files:
        sys/dev/pci/bktr: bktr_core.c
        sys/dev/wscons : wsdisplay.c
        sys/kern : init_main.c kern_fork.c sys_generic.c
        sys/net : bpf.c
        sys/sys : proc.h selinfo.h

Log message:
Kill the horrible hack of storing the pid in struct selinfo.

Instead, keep the proc pointer in it and put the selinfo on a list
in struct proc in selrecord. Then clean up the list when leaving
sys_select and sys_poll.

miod ok, testing by many, including Bobs spamd boxes.