mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
32d0967f5f
We were letting services inherit writable fds for /dev/tty0, as well as having /dev/tty0 as their controlling terminal. Lock this down by closing fds {0,1,2} when spawning a service. We also detach from the controlling terminal. An exception is made for services with an explicit StdIO setting. In those cases, we now switch the controlling terminal to the specified path if possible. |
||
---|---|---|
.. | ||
main.cpp | ||
Makefile | ||
Service.cpp | ||
Service.h |