Andreas Kling
b058852c62
Kernel: Fix overly eager fd closing in sys$execve()
...
When obeying FD_CLOEXEC, we don't need to explicitly call close() on
all the FileDescriptions. We can just clear them out from the process
fd table. ~FileDescription() will call close() anyway.
This fixes an issue where TelnetServer would shut down accepted sockets
when exec'ing a shell for them. Since the parent process still has the
socket open, we should not force-close it. Just let go.
2020-09-28 22:40:44 +02:00
..
2020-08-02 11:01:00 +02:00
2020-09-13 21:19:15 +02:00
2020-08-10 12:52:15 +02:00
2020-09-13 21:19:15 +02:00
2020-08-10 12:52:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-08-10 11:51:45 +02:00
2020-08-15 11:11:34 +02:00
2020-09-28 22:40:44 +02:00
2020-09-27 19:46:04 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-25 21:18:17 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-07-31 00:17:25 +02:00
2020-09-10 19:57:15 +02:00
2020-09-13 21:19:15 +02:00
2020-08-02 11:01:00 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-17 15:07:20 +02:00
2020-09-13 21:19:15 +02:00
2020-08-02 17:15:11 +02:00
2020-09-25 21:18:17 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-08-02 11:01:00 +02:00
2020-09-27 19:46:04 +02:00
2020-09-25 21:18:17 +02:00
2020-09-13 21:19:15 +02:00
2020-08-19 21:21:34 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-08-30 10:31:39 +02:00
2020-09-13 21:19:15 +02:00
2020-09-17 17:23:01 +02:00
2020-09-13 21:19:15 +02:00
2020-09-27 01:02:11 +02:00
2020-09-27 19:46:04 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-13 21:19:15 +02:00
2020-09-27 19:46:04 +02:00
2020-08-01 11:37:40 +02:00
2020-09-15 20:20:38 +02:00