29 Commits

Author SHA1 Message Date
Theodore Dubois
b96b4f4d40 Mark stdio as open for reading and writing 2018-12-07 17:30:16 -08:00
Theodore Dubois
394879521b Set the soft open file limit to something sane 2018-11-16 16:31:13 -08:00
Theodore Dubois
6a035e9186 Fix "function declaration is not a prototype" warnings 2018-11-14 17:13:22 -08:00
Theodore Dubois
58a3b91f24 *Actually* establish SIGUSR1 handler with sigaction 2018-11-11 17:11:15 -08:00
Theodore Dubois
c768e68b10 Establish SIGUSR1 handler with sigaction so calls won’t restart 2018-11-11 17:01:39 -08:00
Theodore Dubois
7a91160b30 Try a completely different implementation of interrupting waits 2018-11-09 13:56:08 -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
e170446cc4 Store the adhoc stat info in the fd 2018-10-08 11:43:54 -07:00
Theodore Dubois
4a8efe8d01 Make various memory management things shared between threads 2018-10-07 13:02:15 -07:00
Theodore Dubois
62a699603b Add half-finished files app integration 2018-09-22 15:18:45 -07:00
Theodore Dubois
601ed99dc3 Make sure different processes have different pids 2018-06-17 15:15:42 -07:00
Theodore Dubois
85e68739fd Stop creating extra fs_info 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
c776bb8e2a Clarify locking on task struct 2018-01-26 16:48:49 -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
Theodore Dubois
728ca235c0 Replace files array with fdtable structure 2018-01-15 19:18:38 -08:00
Theodore Dubois
bf3b711cdd Implement tracking of process cpu usage 2018-01-10 15:33:11 -08:00
Theodore Dubois
8b47bee6a9 Add calls to get and set resource limits 2018-01-10 14:47:38 -08:00
Theodore Dubois
77afbe3aa3 Replace err_map(errno) with errno_map, and fix EPIPE handling 2017-12-15 15:55:53 -08:00
Theodore Dubois
37aef44173 Stop mutating the path in real fs functions 2017-11-15 17:44:11 -08:00
Theodore Dubois
6e85bf4ffb Set the current directory correctly when there's no root 2017-11-14 16:46:27 -08:00
Theodore Dubois
cd370cd0cb Get alpine filesystem into iOS app 2017-10-30 17:16:56 -07:00
Theodore Dubois
63a9ff018e Replace extended attributes with an NDBM-API-compatible database 2017-10-28 18:52:26 -07:00
Theodore Dubois
afb6b5d5c6 Exit handling on iOS 2017-10-25 15:52:09 -07:00
Theodore Dubois
a8f8684ce3 Include signal.h in kernel/init.c 2017-10-18 16:21:18 -07:00
Theodore Dubois
924b4761b3 Use realpath in mount_root 2017-10-18 15:58:46 -07:00
Theodore Dubois
93c254dae4 Split out some things from the xX_main_Xx function 2017-10-18 15:58:46 -07:00