]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/varlink.c
varlink: port varlink code over to use getdtablesize() for sizing number of concurren...
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Aug 2019 12:07:09 +0000 (14:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Nov 2019 09:54:52 +0000 (10:54 +0100)
commit88a36d369015674e3f9eb20f0fc4d33beedd91bb
tree97edaa30faeb48853ef18e1de7da9cada0d96716
parenta0c41de277234b57bbcd6a315c9fcc5ec64e9f7c
varlink: port varlink code over to use getdtablesize() for sizing number of concurrent connections

Use the official glibc API for determining this parameter. In most other
cases in our tree it's better to go directly for RLIMIT_NOFILE since
it's semantically what we want, but for this case it appears more
appropriate to use the friendlier, shorter, explicit API.
src/shared/varlink.c