mirror of
https://github.com/monero-project/monero.git
synced 2025-08-08 22:22:33 -04:00
spawn: close all file descriptors before execve
No need to give whatever we're calling access to what we use
This commit is contained in:
parent
5c85da5a73
commit
c774392985
3 changed files with 25 additions and 0 deletions
|
@ -238,4 +238,6 @@ namespace tools
|
|||
#ifdef _WIN32
|
||||
std::string input_line_win();
|
||||
#endif
|
||||
|
||||
void closefrom(int fd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue