diff options
author | bde <bde@FreeBSD.org> | 1997-11-23 12:24:59 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-23 12:24:59 +0000 |
commit | 608663aedf97b58a40a7c2f93d69b5269d384759 (patch) | |
tree | c7143c8aa455d3e8872fcfaed138f1324dba2833 /lib | |
parent | f885907fbd45ecd99eb3bbe61420ef3107361755 (diff) | |
download | FreeBSD-src-608663aedf97b58a40a7c2f93d69b5269d384759.zip FreeBSD-src-608663aedf97b58a40a7c2f93d69b5269d384759.tar.gz |
Fixed a missing conversion of retval to p_retval in disabled code.
Fixed overflow of FFLAGS() in fcntl(F_SETFL, ...). This was not
a security hole, but gave wrong results for silly flags values.
E.g., it make fcntl(F_SETFL, -1) equivalent to fcntl(F_SETFL, 0).
POSIX requires ignoring the open mode bits in fcntl() (even if
they would be invalid for open()).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions