mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
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