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-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-09-28 21:52:31 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-09-27 19:46:04 +02:00
2020-09-25 21:18:17 +02:00
2020-09-28 22:40:44 +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-09-25 21:18:17 +02:00
2020-09-27 21:15:25 +02:00
2020-09-25 21:18:17 +02:00
2020-08-25 09:48:48 +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-09-27 19:46:04 +02:00
2020-09-25 21:18:17 +02:00
2020-08-22 20:55:10 +02:00
2020-09-25 21:18:17 +02:00
2020-08-22 20:55:10 +02:00
2020-09-13 21:19:15 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-09-27 19:46:04 +02:00
2020-09-27 19:46:04 +02:00
2020-08-19 21:21:34 +02:00
2020-08-19 21:21:34 +02:00
2020-09-13 21:19:15 +02:00
2020-09-25 21:18:17 +02:00
2020-08-25 09:48:48 +02:00
2020-08-25 09:48:48 +02:00
2020-08-26 08:52:07 +02:00
2020-09-27 19:46:04 +02:00
2020-09-27 19:46:04 +02:00
2020-08-30 09:43:49 +02:00
2020-09-13 21:19:15 +02:00
2020-09-17 17:23:01 +02:00
2020-09-25 21:18:17 +02:00
2020-09-27 19:46:04 +02:00
2020-09-27 19:46:04 +02:00
2020-08-25 09:48:48 +02:00
2020-08-25 09:48:48 +02:00
2020-09-27 01:02:11 +02:00
2020-09-22 15:06:40 +02:00
2020-09-15 20:36:45 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00