13 Commits

Author SHA1 Message Date
Theodore Dubois
c3217ca7d1 Revolutionize E2BIG 2019-02-07 23:42:30 -08:00
Theodore Dubois
452eef532d Use malloc for syslog_read buffer 2019-01-24 20:12:36 -08:00
Theodore Dubois
088e7b727d Implement ptys
Also a bunch of somewhat related changes, I was too lazy to break this into more than one commit
2019-01-21 12:20:43 -08:00
Theodore Dubois
a0ca767db6 Rewrite syslog buffer to use a generic fifo
Trivia: I wrote this ring buffer implementation in half an hour during a Google interview and it somehow works better than the old one which took me half a day.
2019-01-05 17:24:32 -08:00
Theodore Dubois
e5dda617de Work around glibc bug 2018-12-19 17:38:27 -08:00
Theodore Dubois
c2488a4d71 Unbreak disassembler debug logging 2018-12-08 14:25:53 -08:00
Theodore Dubois
3b4c71f662 Add function to report error and crash 2018-11-29 16:18:18 -08:00
Theodore Dubois
1c4bb920d9 Use NSLog instead of NSLogv to avoid a segfault 2018-11-17 16:52:21 -08:00
Theodore Dubois
174dec2f25 Stop overflowing the log buffer 2018-11-15 16:23:33 -08:00
Theodore Dubois
d26b900918 Introduce vprintk 2018-11-15 15:26:22 -08:00
Theodore Dubois
c1b1257d39 Implement syslog for retrieving the debug log 2018-11-15 09:58:02 -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