summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1998-09-16 00:11:53 +0000
committerken <ken@FreeBSD.org>1998-09-16 00:11:53 +0000
commit89e0714ec8ca56c1915b929c1fd0944a419c7118 (patch)
treed9c10ba03ffa023d86c96c024127b7a8363b8ae9 /lib/libc/stdlib
parent15f661935007c0c8bc9255a25ead531f7296acd4 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud