Files
RedBear-OS/src
4lDO2 e0a3811736 Protect fork() and clone() behind a rwlock.
rlct_clone will acquire a read lock, whereas fork will acquire a write
lock. The write lock is necessary because the fork will clone the file
table, which would result in other threads' fork/clone file descriptors
not being closed. If an address space switch fd never gets closed, fork
child processes and new threads, may never switch address spaces before
they are started, which has resulted in hard-to-debug RIP=0 instr fetch
page faults.
2024-03-27 10:30:49 +01:00
..
2023-07-07 18:58:42 +08:00
2022-08-20 20:56:42 -06:00
2022-08-20 20:51:01 -06:00
2023-11-04 18:29:38 +00:00
2023-12-24 17:06:27 -03:00
2023-03-01 10:44:14 -07:00
2023-11-04 18:29:38 +00:00
2023-11-04 18:29:38 +00:00
2024-01-11 13:08:06 +00:00