Theodore Dubois
|
174dec2f25
|
Stop overflowing the log buffer
|
2018-11-15 16:23:33 -08:00 |
|
Theodore Dubois
|
7659e0861d
|
Return ENOEXEC when an executable is too short
|
2018-11-15 15:37:02 -08:00 |
|
Theodore Dubois
|
d26b900918
|
Introduce vprintk
|
2018-11-15 15:26:22 -08:00 |
|
Theodore Dubois
|
b8c0b94c9c
|
Add strace for a few calls
|
2018-11-15 14:49:42 -08:00 |
|
Theodore Dubois
|
c1b1257d39
|
Implement syslog for retrieving the debug log
|
2018-11-15 09:58:02 -08:00 |
|
Theodore Dubois
|
bd36fb7144
|
Implement growing anonymous mappings with mremap
|
2018-11-14 18:51:59 -08:00 |
|
Theodore Dubois
|
6e741f23e4
|
Limit the size of write() logs
|
2018-11-14 18:51:05 -08:00 |
|
Theodore Dubois
|
e541847df7
|
Unbreak logging
|
2018-11-14 18:51:05 -08:00 |
|
Theodore Dubois
|
884947a32a
|
Log into a circular buffer
|
2018-11-14 17:13:37 -08:00 |
|
Theodore Dubois
|
6a035e9186
|
Fix "function declaration is not a prototype" warnings
|
2018-11-14 17:13:22 -08:00 |
|
Saagar Jha
|
bdf9a53081
|
Add stubs for clock_settime and settimeofday
|
2018-11-14 16:24:50 -08:00 |
|
Theodore Dubois
|
f637703bfb
|
Merge pull request #88 from saagarjha/master
Implement gettimeofday
|
2018-11-14 14:06:08 -08:00 |
|
Theodore Dubois
|
313d8ecb50
|
Add a function to dump the stack for debugging
|
2018-11-14 13:36:47 -08:00 |
|
Theodore Dubois
|
8337ee07f4
|
Include the instruction pointer in the page fault message
|
2018-11-14 13:35:57 -08:00 |
|
Theodore Dubois
|
fc157975f7
|
Return errors for futex timeouts
|
2018-11-14 13:23:38 -08:00 |
|
Theodore Dubois
|
eedaf4b057
|
Merge branch 'futex_timeout'
|
2018-11-14 12:51:50 -08:00 |
|
Theodore Dubois
|
6eab9da99c
|
Add a newline on the "receiving signal" log
|
2018-11-14 12:33:17 -08:00 |
|
Ryan Hileman
|
277dd12e49
|
implement futex timeouts
|
2018-11-14 12:13:35 -08:00 |
|
Theodore Dubois
|
bf7a168205
|
Remove signals from pending when they’re blocked
|
2018-11-14 11:04:13 -08:00 |
|
Saagar Jha
|
31c4decb84
|
Implement gettimeofday
|
2018-11-14 02:14:23 -08:00 |
|
Theodore Dubois
|
fbd58ad3a2
|
Don't crash when calling select() with no FDs
|
2018-11-14 02:54:28 +00:00 |
|
Theodore Dubois
|
3303edd723
|
Delete the process timer on exit
|
2018-11-14 02:54:28 +00:00 |
|
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 |
|