summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2019-01-24 00:58:20 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2019-01-27 18:58:48 +0200
commit21f9037186f8a4bfb45486b9c28dd146e9df0e00 (patch)
tree577f12e818dbe29f62cf9f4b9caf46926af876d8 /CMakeLists.txt
parentad220b96fb01dbb6acf7e51bdd8d4d6362d96ea7 (diff)
downloadmariadb-git-21f9037186f8a4bfb45486b9c28dd146e9df0e00.tar.gz
MDEV-18360 Prevent set_max_open_files from allocating too many files
If the rlimit.rlim_cur value returned by getrlimit is not the RLIM_INFINITY magic constant, but a *very* large number, we can allocate too many open files. Restrict set_max_open_files to only return at most max_file_limit, as passed via its parameter.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions