Files
openide/platform/execution-process-elevation
Dmitry.Neverov d4ed7bca2c CPP-45629 workaround slow pkexec on Ubuntu 25
By limiting the number of files pkexec has to close.

The limit is set in the elevation daemon launcher rather than
ExecUtil.sudoCommand() because the latter runs arbitrary commands, and
we don't know beforehand what is the right limit to set.

For elevation daemon, 1024 files seem enough.

(cherry picked from commit 492693b98cb63e3494f830cd95fd13a5945c8e28)

GitOrigin-RevId: c30cdf34cc504ed735d685230da0ccda43b9377a
2025-08-20 09:48:26 +00:00
..