Skip to content
Snippets Groups Projects
user avatar
Jack Nagel authored
The formula locks used by the installer and commands like link and
unlink are backed by open files and flock(). The open file descriptors
are thus leaked to any subprocesses. This can result in weird behavior
in programs spawned from formula that do not expect to inherit these
descriptors.

Fix this by setting close-on-exec on the lock file descriptors.

Fixes Homebrew/homebrew#21486.
bac6533d
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..