diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-08-29 21:46:30 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2012-08-29 21:46:30 +0000 |
commit | a60dce94c85580be0f97535fff1317c6912e1211 (patch) | |
tree | d7721622877dd380a902fddc0040220f0606e69b /sys/netinet | |
parent | 3dedeea696f0eea7042acc587783d890538c20c5 (diff) |
Fix _SC_CHILD_MAX, _SC_OPEN_MAX, and _SC_STREAM_MAX to correctly
handle rlim_cur set to RLIM_INFINITY or values greater than LONG_MAX,
as unlikely as those are to happen. Further limit _SC_STREAM_MAX to
at most SHRT_MAX, because struct __sFILE uses a short int for storing
the file descriptor.
While here, also remove a dead label that Clang complains about.
From FreeBSD via Brad.
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions