Skip to content

sysdeps: Don't raise RLIMIT_NOFILE beyond OPEN_MAX on macOS

sourtin requested to merge sourtin/dbus:macos-setrlimit-bugfix into master

Per issue #309 (closed), DBus fails to launch on macOS 10.5 and above because of a breaking change in setrlimit, in which RLIM_INFINITY is no longer supported for RLIMIT_NOFILE. Instead we must use OPEN_MAX.

Edited by Simon McVittie

Merge request reports