Theodore Dubois
|
aee55b478f
|
Merge pull request #61 from lunixbochs/patch2-sys_old_mmap
fix sys_mmap
|
2018-11-12 13:26:31 -08:00 |
|
Ryan Hileman
|
1ba20f90d9
|
fix sys_mmap
|
2018-11-12 13:18:50 -08:00 |
|
Ryan Hileman
|
18c5bdf04b
|
sysinfo: add uptime (osx) and all fields (linux)
|
2018-11-12 12:53:55 -08:00 |
|
Theodore Dubois
|
12e405817d
|
Ignore signals when waiting for vfork completion
|
2018-11-12 10:43:23 -08:00 |
|
woachk
|
360a45c741
|
Well, turned out that hundredths of a second is the used unit here...
|
2018-11-12 10:12:14 -08:00 |
|
Theodore Dubois
|
f59ef72994
|
Improve strace for setitimer
|
2018-11-12 10:12:03 -08:00 |
|
Theodore Dubois
|
fcf97f735a
|
Make the members of tms_ dword_t instead of clock_t
On 64-bit systems, clock_t is twice as big as dword_t, so this would end up smashing the stack.
|
2018-11-11 18:25:26 -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
|
9a3a89252d
|
Fully implement setpgid
|
2018-11-11 14:40:05 -08:00 |
|
Theodore Dubois
|
b3e143a1c5
|
Don’t crash when sending signals to a nonexistent pgroup
|
2018-11-11 14:06:43 -08:00 |
|
woachk
|
80831550a7
|
Use the shared rusage_get_current() implementation for consistency
Oops.
|
2018-11-11 13:19:22 -08:00 |
|
woachk
|
223e8ef5b6
|
Early times() implementation
|
2018-11-11 13:18:33 -08:00 |
|
Theodore Dubois
|
1bceb67ef0
|
Handle F_GETFL which is necessary for printf to work
|
2018-11-11 11:43:12 -08:00 |
|
SEProblem
|
0e19c7a2ff
|
added syscall 147 - getsid
|
2018-11-10 16:50:52 -08:00 |
|
Theodore Dubois
|
8b6d4ddef3
|
Fix a couple memory-related races
|
2018-11-10 15:05:24 -08:00 |
|
Theodore Dubois
|
a44c343449
|
Use one lock for all futexes
|
2018-11-10 14:57:45 -08:00 |
|
Theodore Dubois
|
dad48c6cc7
|
Correctly report the old signal mask
|
2018-11-10 14:03:56 -08:00 |
|
Theodore Dubois
|
4c29025b4d
|
Improve unhandled interrupt messages
|
2018-11-10 14:03:48 -08:00 |
|
Theodore Dubois
|
e265949196
|
Fix a couple of race UAFs
|
2018-11-09 18:59:30 -08:00 |
|
Theodore Dubois
|
0770d118d5
|
Fix some mistakes with futexes
|
2018-11-09 18:59:15 -08:00 |
|
Theodore Dubois
|
7a91160b30
|
Try a completely different implementation of interrupting waits
|
2018-11-09 13:56:08 -08:00 |
|
Theodore Dubois
|
928fc7eed0
|
Add missing locking for vfork exec
|
2018-11-09 13:02:46 -08:00 |
|
Theodore Dubois
|
3d52f2d01a
|
Make new condition implementation work on Darwin
|
2018-11-08 19:28:11 -08:00 |
|
Theodore Dubois
|
9f6d533839
|
Add missing declaration of do_exit_group
|
2018-11-08 19:21:18 -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
|
53513c4809
|
Implement shrinking with mremap
|
2018-11-02 09:55:15 -07:00 |
|
Theodore Dubois
|
afbcd85d6c
|
Dump the memory of an illegal instruction
|
2018-10-30 18:21:13 -07:00 |
|
Theodore Dubois
|
15d365a733
|
Fix typo that broke Linux build
|
2018-10-30 17:02:29 -07:00 |
|
Theodore Dubois
|
db525dc2ad
|
Implement pselect
|
2018-10-30 16:59:12 -07:00 |
|
SEProblem
|
3d5f42c106
|
Implement sys_faccessat (call: 307)
|
2018-10-29 15:17:52 -07:00 |
|
Theodore Dubois
|
254f050f3e
|
Initialize the futex hashtable lock
|
2018-10-28 16:28:28 -07:00 |
|
Theodore Dubois
|
25441d10cc
|
Implement pread
|
2018-10-22 11:05:26 -07:00 |
|
Theodore Dubois
|
261f51ba61
|
Implement sched_setaffinity
|
2018-10-08 17:22:30 -07:00 |
|
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 |
|