tor/src/common
David Goulet 79798a2363 Set the open file limit to the current value before changing it
If setrlimit() failed, max_out wasn't set in set_max_file_descriptors()
ending in a state where we don't use ULIMIT_BUFFER for things like tor
private key files.

Also fix the set_max_file_descriptors() documentation.

Fixes #16274

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
2015-08-05 13:17:33 -04:00
..
address.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
address.h Merge branch 'ticket14710_squashed' 2015-03-31 14:37:09 -04:00
aes.c Remove checks for visual C 6. 2015-06-29 12:55:03 -04:00
aes.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
backtrace.c Merge remote-tracking branch 'public/bug14988_025' 2015-02-23 11:33:07 -05:00
backtrace.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
ciphers.inc Update ciphers.inc to match ff28 2014-04-08 11:42:07 -04:00
compat_libevent.c Remove workarounds for Libevent < 1.3. 2015-03-12 16:59:05 -04:00
compat_libevent.h Remove workarounds for Libevent < 1.3. 2015-03-12 16:59:05 -04:00
compat_pthreads.c Fix some potential memory leaks in the thread pool code. 2015-07-21 13:57:53 -04:00
compat_threads.c Fix: check r < 0 before checking errno 2015-01-30 15:18:40 -05:00
compat_threads.h Fix check-spaces 2015-01-14 11:19:35 -05:00
compat_winthreads.c Wrap windows-only C files in #ifdef _WIN32 2015-07-30 11:14:15 -04:00
compat.c Set the open file limit to the current value before changing it 2015-08-05 13:17:33 -04:00
compat.h Add get_max_sockets() and remove dead code 2015-07-30 15:21:12 -04:00
container.c Fix the position-check for ed25519 certs to work with annotations 2015-05-28 10:41:49 -04:00
container.h Merge branch '12498_ed25519_keys_v6' 2015-05-28 11:04:33 -04:00
crypto_curve25519.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto_curve25519.h Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto_ed25519.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto_ed25519.h Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto_format.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto_format.h Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto_pwbox.c Silence spurious clang warnings 2014-10-30 22:34:46 +11:00
crypto_pwbox.h Rudimentary-but-sufficient passphrase-encrypted box code. 2014-09-25 11:58:13 -04:00
crypto_s2k.c Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
crypto_s2k.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
crypto.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
crypto.h Move formatting functions around. 2015-07-31 11:21:34 -04:00
di_ops.c Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
di_ops.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
include.am Move formatting functions around. 2015-07-31 11:21:34 -04:00
linux_syscalls.inc Move code-generation scripts to scripts/codegen 2014-05-07 01:17:41 -04:00
log.c Use C99 variadic macros when not on GCC. 2015-07-15 14:43:35 -04:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
memarea.c Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
memarea.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
procmon.c Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
procmon.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
sandbox.c Fix another seccomp2 issue 2015-06-15 10:13:11 -04:00
sandbox.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
testsupport.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
torgzip.c Merge remote-tracking branch 'public/feature11791' 2015-01-06 13:52:54 -05:00
torgzip.h Merge remote-tracking branch 'public/feature11791' 2015-01-06 13:52:54 -05:00
torint.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
torlog.h Fix a couple more msvc issues, reported by gisle vanem 2015-07-23 12:01:57 -04:00
tortls.c Remove checks for visual C 6. 2015-06-29 12:55:03 -04:00
tortls.h Merge branch '12498_ed25519_keys_v6' 2015-05-28 11:04:33 -04:00
util_format.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
util_format.h Move formatting functions around. 2015-07-31 11:21:34 -04:00
util_process.c Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
util_process.h Bump copyright dates to 2015, in case someday this matters. 2015-01-02 14:27:39 -05:00
util.c Move formatting functions around. 2015-07-31 11:21:34 -04:00
util.h Move formatting functions around. 2015-07-31 11:21:34 -04:00
workqueue.c Switch order of unblocking threads and releasing the mutex. 2015-08-04 13:35:02 -04:00
workqueue.h Update workqueue implementation to use a single queue for the work 2015-01-15 11:05:22 -05:00