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-08-12 20:40:59 +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-07-01 12:07:01 +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-08-11 20:29:14 +02:00
2020-08-16 16:33:28 +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-08-10 20:05:18 +02:00
2020-09-25 21:18:17 +02:00
2020-08-17 09:57:18 +02:00
2020-08-10 11:51:45 +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-08-16 16:33:28 +02:00
2020-08-10 11:51:45 +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-08-10 11:51:45 +02:00
2020-08-19 11:10:53 +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-10 11:51:45 +02:00
2020-08-10 11:51:45 +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
2020-08-06 10:02:55 +02:00