diff options
author | ken <ken@FreeBSD.org> | 1998-09-16 00:11:53 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1998-09-16 00:11:53 +0000 |
commit | 89e0714ec8ca56c1915b929c1fd0944a419c7118 (patch) | |
tree | d9c10ba03ffa023d86c96c024127b7a8363b8ae9 /lib/libc/stdlib | |
parent | 15f661935007c0c8bc9255a25ead531f7296acd4 (diff) | |
download | FreeBSD-src-89e0714ec8ca56c1915b929c1fd0944a419c7118.zip FreeBSD-src-89e0714ec8ca56c1915b929c1fd0944a419c7118.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions