Theodore Dubois
|
8d00f8dacf
|
Make it possible for poll to return multiple things
|
2018-11-18 15:09:08 -08:00 |
|
Theodore Dubois
|
0f0af15c4d
|
Don't crash when calling setpgid with a wild pgid
|
2018-11-17 19:02:00 -08:00 |
|
Theodore Dubois
|
1c4bb920d9
|
Use NSLog instead of NSLogv to avoid a segfault
|
2018-11-17 16:52:21 -08:00 |
|
Theodore Dubois
|
c158cefd16
|
Fix leak of interp_fd
|
2018-11-16 16:32:50 -08:00 |
|
Theodore Dubois
|
394879521b
|
Set the soft open file limit to something sane
|
2018-11-16 16:31:13 -08:00 |
|
Theodore Dubois
|
5c2223e85c
|
Don't try to send signals to zombies
|
2018-11-16 16:24:02 -08:00 |
|
Theodore Dubois
|
c68a78029c
|
Add strace for getrlimit and setrlimit
|
2018-11-16 16:02:27 -08:00 |
|
Theodore Dubois
|
2b35a6e9e6
|
Implement ioctl(FIONBIO)
|
2018-11-16 14:38:32 -08:00 |
|
Theodore Dubois
|
d679605b03
|
Merge pull request #65 from lunixbochs/patch3-fcntl_setfl
implement fcntl F_SETFL
|
2018-11-16 14:05:24 -08:00 |
|
Theodore Dubois
|
7f74a54fd0
|
Implement pipe2 with O_CLOEXEC
|
2018-11-16 13:59:49 -08:00 |
|
Theodore Dubois
|
d916548f1f
|
Add strace for pread
|
2018-11-15 16:36:43 -08:00 |
|
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 |
|
Ryan Hileman
|
7e056f4e0e
|
implement fcntl F_SETFL
|
2018-11-12 14:44:11 -08: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 |
|