ken 89e0714ec8 Check to make sure that this device is opened read-write, not just read
only.  Previously, if the device was chmoded 644, someone could open it
with the O_RDONLY flag and issue any ioctl to the device.

Reviewed by:	imp, gibbs
1998-09-16 00:11:53 +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-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