summaryrefslogtreecommitdiffstats
path: root/sys/pci/amdpm.c
diff options
context:
space:
mode:
authorjonathan <jonathan@FreeBSD.org>2011-07-07 18:07:03 +0000
committerjonathan <jonathan@FreeBSD.org>2011-07-07 18:07:03 +0000
commitf1301f9a76f64361bb7eefc6d0e275bedb2b2b4c (patch)
treef40dbd027ae029159206ef752c984c56ebb54415 /sys/pci/amdpm.c
parentb468f23f53f72f2ea48e9e486838dcaecafa6c75 (diff)
downloadFreeBSD-src-f1301f9a76f64361bb7eefc6d0e275bedb2b2b4c.zip
FreeBSD-src-f1301f9a76f64361bb7eefc6d0e275bedb2b2b4c.tar.gz
Ensure that kqueue is not inherited across fork().
Modify the existing unit test (from libkqueue) which already exercises process events via fork() and kill(). Now, the child process simply checks that the 'kqfd' descriptor is invalid. Some minor modifications were required to make err() work correctly. It seems that this test was imported using the output of a configure script, but config.h was not included in key places, nor was its syntax correct (need '#define HAVE_FOO 1' rather than '#define HAVE_FOO'). Finally, change main() to run the "proc" suite by default, but widened the '#if TODO' in proc.c to include the non-functioning test event_trigger(). Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc
Diffstat (limited to 'sys/pci/amdpm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud