summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-09-21 15:02:59 +0000
committerkib <kib@FreeBSD.org>2015-09-21 15:02:59 +0000
commit9704d25bc3520f7103c2feef30f983393df1becb (patch)
tree498eeea83fc801aa214424bdb76dfcedb310e0d3 /contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
parent6fb47d3576cdfcba905b5e4424324ac5cc2d4524 (diff)
downloadFreeBSD-src-9704d25bc3520f7103c2feef30f983393df1becb.zip
FreeBSD-src-9704d25bc3520f7103c2feef30f983393df1becb.tar.gz
Ensure that maxproc does not exceed pid_max, at the time of boot.
Changes to kern.pid_max mib after the boot can break this relation. The maxfiles value was calculated by the MAXFILES formula based on maxproc value, but this change decouples them, and MAXFILES now references maxusers. Without manual tuning, the maxfiles default value remains as it was prior to this commit. But for systems which have tuned maxproc and rely on maxfiles to adjust, additional reconfiguration is needed. Reported by: rwatson Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud