1515 Commits

Author SHA1 Message Date
Theodore Dubois
ca00c483b2 Make it easy to change the bundle ID 2019-05-11 15:59:19 -07:00
Theodore Dubois
632e4b80de Release build 51 to testflight builds/beta/51 2019-05-05 22:11:06 -07:00
Theodore Dubois
e96882c07a Get rid of idiotic fork_task function that broke threads 2019-05-05 22:09:37 -07:00
Theodore Dubois
3c821ed43a Release build 50 to testflight builds/beta/50 2019-05-05 20:45:04 -07:00
Theodore Dubois
7704024a66 Fix unix domain sockets on iOS 2019-05-05 20:11:58 -07:00
Theodore Dubois
c6e8f7c994 Enable boot thing by default 2019-05-05 20:11:46 -07:00
Theodore Dubois
76698412b1 Stub membarrier 2019-05-05 19:51:08 -07:00
Theodore Dubois
f69123a771 Handle null address in sendmsg 2019-05-05 19:47:40 -07:00
Theodore Dubois
7d030189d2 Zero out a tty's session when the session dies 2019-05-05 19:47:26 -07:00
Theodore Dubois
3b01daa41e Only acquire a controlling tty if the tty has no session 2019-05-05 16:31:07 -07:00
Theodore Dubois
cb7430a24d Allow reading from a terminal that's not your controlling terminal 2019-05-05 14:04:00 -07:00
Theodore Dubois
994fd94740 Allocate too many real ttys 2019-05-05 13:19:04 -07:00
Theodore Dubois
cebd8758ec Add strace for chmod and chown 2019-05-05 13:17:09 -07:00
Theodore Dubois
63f625b07b Don't consider a master half closed if the slave has never been opened 2019-05-05 13:16:44 -07:00
Theodore Dubois
ce56ddb0d3 Don't send SIGTTIN if there's no foreground group 2019-05-05 13:16:15 -07:00
Theodore Dubois
164a67926e Initialize the pty slave uid/gid/perms 2019-05-05 12:08:29 -07:00
Theodore Dubois
cddf0ca557 Allow turning on packet mode for ptys 2019-05-05 12:08:29 -07:00
Theodore Dubois
580032af30 Make /dev/null work with poll() 2019-05-05 12:08:29 -07:00
Theodore Dubois
7a45420ac0 Make the session automatically restart 2019-05-05 09:21:13 -07:00
Theodore Dubois
fd3308f2c6 fuck 2019-05-04 23:52:24 -07:00
Theodore Dubois
5adc2832a6 Correct references to RLIM_INFINITY_ 2019-05-04 23:48:59 -07:00
Theodore Dubois
894c3d2af5 Make the whole boot system thing happen 2019-05-04 23:32:24 -07:00
Theodore Dubois
cad09c7a58 Fail when RLIMIT_NOFILE is less than fdtable size 2019-05-04 23:31:41 -07:00
Theodore Dubois
4f32f1d54a Give background webviews a nonzero size 2019-05-04 23:31:01 -07:00
Theodore Dubois
13a0d899d8 Add settings for boot system thing 2019-05-04 23:30:27 -07:00
Theodore Dubois
351def054c Correctly set Z/S/P for an atomic inc or dec on aarch64 2019-05-03 22:39:31 -07:00
Theodore Dubois
090804a6f7 Improve the terminal resizing code 2019-05-01 21:40:10 -07:00
Theodore Dubois
63a4ae9c18
Merge pull request #339 from 0b101/UpgradeAlpine692
Upgrade Alpine to 3.9.3
2019-05-01 18:24:47 -07:00
Theodore Dubois
cc08b17c48 Add flags option to mount 2019-05-01 18:12:58 -07:00
Theodore Dubois
a94a56cfb4 Rework implementation of rlimit calls
Turns out prlimit is the only call that takes a 64-bit rlimit struct.
The other ones are supposed to take a 32 bit struct, and I never noticed
any stack smashing until now because musl just uses prlimit.
2019-05-01 16:25:32 -07:00
Theodore Dubois
623be6edc1 Implement tgkill 2019-05-01 15:31:15 -07:00
Theodore Dubois
d158c10ac2 Enable case-sensitive filesystem on darwin whenever possible 2019-05-01 14:41:36 -07:00
Theodore Dubois
480fde90f7 Implement utimes 2019-05-01 14:41:08 -07:00
Theodore Dubois
bbdc32f8d8 Implement send and recv 2019-05-01 10:37:19 -07:00
Theodore Dubois
9757444e8d Implement sendmmsg 2019-05-01 10:34:45 -07:00
Theodore Dubois
4b511413fe Decode fcomip 2019-05-01 09:48:04 -07:00
Theodore Dubois
6904368c7d Store the robust list 2019-05-01 09:45:20 -07:00
Theodore Dubois
54c236f375 Stub arch_prctl 2019-05-01 09:45:10 -07:00
Theodore Dubois
d405f1abcf Don't crash when given an out of bounds syscall 2019-05-01 09:44:43 -07:00
Theodore Dubois
cef1841a40 Make it possible to run init
If you set the init command to /sbin/init, you'll see it fail to run openrc and then start a working getty.
2019-05-01 08:53:25 -07:00
Theodore Dubois
8d533146c5 Implement getdents 2019-05-01 08:50:41 -07:00
Theodore Dubois
9f4dd9204c Zero out registers in exec 2019-04-27 16:48:45 -07:00
David
c65a09080f
Upgrade to Alpine 3.9.3 2019-04-24 15:50:21 -05:00
Theodore Dubois
6d2f84c0af Fix build on linux 2019-04-21 12:23:56 -07:00
Theodore Dubois
f5360288f3 Implement 32-bit variant of getrlimit 2019-04-21 12:17:38 -07:00
Theodore Dubois
c5e9b0a598 Implement unix domain sockets 2019-04-21 09:52:58 -07:00
Theodore Dubois
7fe743f58d Store domain, type, and protocol in the socket FD 2019-04-14 22:46:25 -07:00
Theodore Dubois
6ec8ec9db5 Rename fd data structs 2019-04-14 17:49:42 -07:00
Theodore Dubois
f7bb09bdb8 Fill in some missing FPU instructions 2019-04-14 10:23:59 -07:00
Theodore Dubois
8b7bde4e9a Make stdio connect to a real file, /dev/tty1 by default
I expect we'll eventually have more than 1.
2019-04-07 22:27:18 -07:00