Jonathan Anderson 5604e481b1 Fix the "passability" test in fdcopy().
Rather than checking to see if a descriptor is a kqueue, check to see if
its fileops flags include DFLAG_PASSABLE.

At the moment, these two tests are equivalent, but this will change with
the addition of capabilities that wrap kqueues but are themselves of type
DTYPE_CAPABILITY. We already have the DFLAG_PASSABLE abstraction, so let's
use it.

This change has been tested with [the newly improved] tools/regression/kqueue.

Approved by: mentor (rwatson), re (Capsicum blanket)
Sponsored by: Google Inc
2011-07-08 12:19:25 +00:00
..
2011-04-18 16:32:47 +00:00
MFC
2011-06-15 07:20:22 +00:00
2011-04-13 11:28:46 +00:00
2011-04-26 07:30:52 +00:00
2010-11-22 15:28:54 +00:00
2010-11-25 20:05:11 +00:00
2011-06-27 13:02:23 +00:00
MFC
2011-06-26 17:30:46 +00:00
2011-04-18 16:32:47 +00:00
2011-04-18 16:32:47 +00:00
2010-01-04 20:59:52 +00:00
2010-11-14 16:10:15 +00:00