diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-14 19:32:03 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-14 19:32:03 +0000 |
commit | 476d18667583679bdf1230213949d32fb7c85943 (patch) | |
tree | 0ccbbd29c86267b5ae6eae220b5bf74fe319b429 /lib/libc/stdlib | |
parent | 40fd39052074528ac10bac208ac9a7e7f574aef7 (diff) | |
download | FreeBSD-src-476d18667583679bdf1230213949d32fb7c85943.zip FreeBSD-src-476d18667583679bdf1230213949d32fb7c85943.tar.gz |
When opening a trace file, open O_NONBLOCK so that ktrace doesn't stall
if the target is a fifo. After opening a trace file, check that it is a
regular file, and if not, return an error.
MFC after: 3 days
Reported by: kris
PR: 94278
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions