diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-01-11 02:28:06 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-01-11 02:28:06 +0000 |
commit | 9190052ce96c82289a2d3eda97fbfa0e10e856a0 (patch) | |
tree | 3dc1d5183b155f48e737de5a944241858b84ee1c /lib/libc/string | |
parent | ad9cde45fa599fbe173514048c3bef09b3786b4c (diff) | |
download | FreeBSD-src-9190052ce96c82289a2d3eda97fbfa0e10e856a0.zip FreeBSD-src-9190052ce96c82289a2d3eda97fbfa0e10e856a0.tar.gz |
When not creating a core dump due to resource limits specifying
a maximum dump size of 0, return a size-related error, rather
than returning success. Otherwise, waitpid() will incorrectly
return a status indicating that a core dump was created. Note
that the specific error doesn't actually matter, since it's lost.
MFC after: 2 weeks
PR: 60367
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Diffstat (limited to 'lib/libc/string')
0 files changed, 0 insertions, 0 deletions