1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

Kernel: Use alloc_fd() more instead of walking fd list manually.

This commit is contained in:
Andreas Kling 2019-04-06 14:54:32 +02:00
parent a58d7fd8bb
commit ac6c7d3e19
2 changed files with 24 additions and 52 deletions

View file

@ -252,7 +252,7 @@ private:
int do_exec(String path, Vector<String> arguments, Vector<String> environment);
int alloc_fd();
int alloc_fd(int first_candidate_fd = 0);
void disown_all_shared_buffers();
void create_signal_trampolines_if_needed();