165 Commits

Author SHA1 Message Date
Theodore Dubois
2e66513306 Implement chown32 2018-10-08 14:26:48 -07:00
Theodore Dubois
b06be929d2 Pass through O_TRUNC and O_APPEND 2018-10-08 12:27:55 -07:00
Theodore Dubois
93aa315524 Log the data for a write call 2018-10-08 11:44:06 -07:00
Theodore Dubois
e170446cc4 Store the adhoc stat info in the fd 2018-10-08 11:43:54 -07:00
Theodore Dubois
6cfbe6a15f iMake brk calls with 0 not fail immediately 2018-10-08 11:43:01 -07:00
Theodore Dubois
f616b55ccc Implement basic setresuid and setresgid 2018-10-07 19:07:52 -07:00
Theodore Dubois
4bb99b163d Fix typo in futex_wake 2018-10-07 19:07:37 -07:00
Theodore Dubois
ff08bffadd Merge duplicate poll file descriptors 2018-10-07 17:58:58 -07:00
Theodore Dubois
aff0e868b0 fixup! Make various memory management things shared between threads 2018-10-07 13:47:01 -07:00
Theodore Dubois
4a8efe8d01 Make various memory management things shared between threads 2018-10-07 13:02:15 -07:00
Theodore Dubois
4b7a08dcfe Add strace for clock_gettime and fcntl 2018-10-05 17:56:06 -07:00
Theodore Dubois
310a77ab3a Implement CLONE_CHILD_CLEARTID 2018-10-05 16:42:16 -07:00
Theodore Dubois
0ecd135b92 Don't fail on shared futexes 2018-10-05 16:32:43 -07:00
Theodore Dubois
c2f1b92caf Allow select with empty fd set 2018-10-05 16:32:43 -07:00
Theodore Dubois
31d703a486 Handle NULL path for utimensat 2018-10-05 12:48:21 -07:00
Theodore Dubois
074656e2bb Make poll work with any number of fds 2018-10-05 11:27:15 -07:00
Theodore Dubois
eb57697c7e Correctly output the random data 2018-10-05 10:41:42 -07: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
9ab09bd649 Implement getrandom 2018-10-02 13:02:14 -07:00
Theodore Dubois
4ed0e177bd Handle the zero signal 2018-10-01 16:32:53 -07:00
Theodore Dubois
c95327fcc3 Pass arguments to strace for mkdirat 2018-10-01 16:32:46 -07:00
Theodore Dubois
57d9215474 Make some signals non-fatal 2018-10-01 14:57:36 -07:00
Theodore Dubois
cb1c658598 Fix some incorrect locking 2018-10-01 14:48:27 -07:00
Theodore Dubois
fd7d640abd Fix a bunch of issues reported by static analyzers 2018-10-01 11:02:10 -07:00
Theodore Dubois
fae538cb05 Disable logging for exceptfds 2018-09-30 12:30:01 -07:00
Theodore Dubois
c38ee23ce3 Implement fsync 2018-09-28 13:02:09 -07:00
Theodore Dubois
f1371370ce Implement poll timeouts and proper returns 2018-09-28 12:34:18 -07:00
Theodore Dubois
2f16b25413 Implement sigaltstack 2018-09-28 11:16:47 -07:00
Theodore Dubois
dc7b3f0068 Add strace for symlinkat 2018-09-28 11:16:04 -07:00
Theodore Dubois
998b68e5d9 Add a bunch of strace messages 2018-09-27 14:38:45 -07:00
Theodore Dubois
b1e34968e8 Implement readlinkat 2018-09-26 09:24:15 -07:00
Theodore Dubois
e4df2ff817 Return errors from execve 2018-09-24 13:06:38 -07:00
Theodore Dubois
62a699603b Add half-finished files app integration 2018-09-22 15:18:45 -07:00
Theodore Dubois
a9cdcd38eb Pad out the vdso to avoid segfaults 2018-09-10 15:50:25 -07:00
Theodore Dubois
46f65f724b Add some clarifying comments to exit.c 2018-08-29 02:18:56 +00:00
Theodore Dubois
2ee6cafa94 Add flag checking to unicornomatic 2018-08-19 00:22:48 +00:00
Theodore Dubois
c16e7e0190 Unfuck rmdir 2018-08-12 20:39:15 -07:00
Theodore Dubois
b1ff0a31fc Implement futimens 2018-08-12 20:35:00 -07:00
Theodore Dubois
efd0b23ef2 Merge branch 'master' of github.com:tbodt/ish 2018-08-12 19:41:55 -07:00
Theodore Dubois
3cf7619de7 Merge branch 'jit' 2018-08-12 19:35:43 -07:00
Theodore Dubois
943662c1a8 Add strace for nanosleep 2018-08-12 18:53:43 -07:00
Theodore Dubois
601ed99dc3 Make sure different processes have different pids 2018-06-17 15:15:42 -07:00
Theodore Dubois
39174168c3 Break out of readv/writev as soon as a buffer is incompletely read/written 2018-06-16 16:44:48 -07:00
Theodore Dubois
41f2b61aff Find a slightly better place for log_override 2018-06-16 15:58:52 -07:00
Theodore Dubois
70d019edb3 Use the actual protection for file mappings 2018-06-14 07:35:29 -07:00
Theodore Dubois
cb209cb233 Initialize interp_ph 2018-05-26 11:58:32 -07:00
Theodore Dubois
46a26ad58b Fix vdso inclusion on Mac 2018-05-07 10:55:20 -07:00
Theodore Dubois
d4d7d4652f Replace cify with .incbin 2018-05-03 16:13:33 -07:00
Theodore Dubois
498c17b1a3 Foundations of jit, no actual compiling yet 2018-05-03 14:48:08 -07:00
Theodore Dubois
c83d07c092 Fix some file descriptor leaks 2018-04-20 18:32:56 -07:00