27 Commits

Author SHA1 Message Date
Theodore Dubois
93bc13d924 Fix tsan warnings 2019-02-04 18:53:42 -08:00
Theodore Dubois
2f8c0afcbf Add sockrestart infrastructure 2019-01-26 17:39:22 -08:00
Theodore Dubois
1265ff32c3 Fix zsh sometimes hanging in sigsuspend 2019-01-06 11:09:26 -08:00
Theodore Dubois
8478bf5b53 Implement stopping processes with signals 2019-01-01 12:54:26 -08:00
Theodore Dubois
14d30a35df Fix potential UAF when handling CLONE_VFORK 2018-12-31 17:29:36 -08:00
Theodore Dubois
3b7c92d141 Implement sigsuspend
Fixes zsh (#103)
2018-12-30 21:19:46 -08:00
Theodore Dubois
9019f9c5aa Start pids at 1 again 2018-12-24 23:11:38 -08:00
Theodore Dubois
725ec6daf6 Autoincrementing pids 2018-12-24 18:38:47 -08:00
Theodore Dubois
2adc56625c Make process group and session membership per-thread-group 2018-12-06 14:17:46 -08:00
Theodore Dubois
cfaef9d0b4 Add stub for sched_yield 2018-12-01 14:59:38 -08:00
Theodore Dubois
f45ad6b50a fuk 2018-11-30 14:39:22 -08:00
Theodore Dubois
7d0e083098 Don't freeze the main thread when tapping the screen 2018-11-30 12:32:51 -08:00
Theodore Dubois
3b4c71f662 Add function to report error and crash 2018-11-29 16:18:18 -08:00
Theodore Dubois
3444cc121d Don't segfault when looking up a ridiculous PID 2018-11-25 17:50:33 -08:00
Theodore Dubois
6a035e9186 Fix "function declaration is not a prototype" warnings 2018-11-14 17:13:22 -08:00
Theodore Dubois
9a3a89252d Fully implement setpgid 2018-11-11 14:40:05 -08:00
Theodore Dubois
e265949196 Fix a couple of race UAFs 2018-11-09 18:59:30 -08:00
Theodore Dubois
7a91160b30 Try a completely different implementation of interrupting waits 2018-11-09 13:56:08 -08:00
Theodore Dubois
3d52f2d01a Make new condition implementation work on Darwin 2018-11-08 19:28:11 -08:00
Theodore Dubois
12ed53a493 Introduce a replacement for pthread conditions and use that to make exit_group work 2018-11-08 18:57:06 -08:00
Theodore Dubois
e6a4f88bef Add child processes to the parent’s process group and session 2018-10-05 10:37:57 -07:00
Theodore Dubois
62a699603b Add half-finished files app integration 2018-09-22 15:18:45 -07:00
Theodore Dubois
76124c1933 First pass at implementing exit_group 2018-02-01 17:23:00 -08:00
Theodore Dubois
7e5e9e5c1f First pass at implementing thread groups
It builds and will give you a shell. Gonna call it a day.
2018-01-28 15:42:42 -08:00
Theodore Dubois
a5fb79920c Split signal handlers into a separate structure and clone flag 2018-01-21 20:52:16 -08:00
Theodore Dubois
eddf023669 Move pwd, root, uname out into its own struct 2018-01-21 17:24:32 -08:00
Theodore Dubois
6a907425e6 Rename process to task 2018-01-21 12:44:55 -08:00