Kenneth D. Merry 22b9c86cfd Fix a few problems that Bruce noticed about a month ago, and fix oup one
other problem.

- Hold onto splsoftcam() in the peripheral driver open routines until we
  have locked the periph.  This eliminates a race condition.

- Disallow opening the pass driver when securelevel > 1.

- If a user tries to open the pass driver with O_NONBLOCK set, return
  EINVAL instead of ENODEV.  (noticed by gibbs)
1998-11-22 23:44:47 +00:00
..
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-15 06:33:23 +00:00
1998-09-22 04:53:23 +00:00
1998-09-15 06:33:23 +00:00