Commit Graph

1343 Commits

Author SHA1 Message Date
K. Lange
54d6d21ca5 kernel: writes to /dev/null should return number of bytes written 2023-04-26 23:16:16 +09:00
K. Lange
ffb7bc36bb aarch64: ensure module base address starts aligned 2023-04-18 22:45:19 +09:00
K. Lange
ccb361fb3b kernel: mark sockets in stat; reject them in seek 2023-04-18 19:40:52 +09:00
K. Lange
0db8e34627 net: Handle signals, disconnects while waiting to recv in tcp 2023-04-18 19:40:52 +09:00
K. Lange
b8b69255e3 net: Support ioctl FIONBIO to set non-blocking 2023-04-18 19:40:52 +09:00
K. Lange
df25724fcc net: Support getsockname, getpeername for tcp 2023-04-18 19:40:52 +09:00
K. Lange
534aca26de kernel: More instances of unintended signed values causing problems 2023-04-12 18:33:47 +09:00
K. Lange
441f853bc3 kernel: be more prudent with signal number bounds checking 2023-04-12 17:27:44 +09:00
K. Lange
6d2d6edffc boot: CONSOLE_FLAGS mb2 tag is optional 2023-04-11 17:35:30 +09:00
K. Lange
598c5a7982 kernel: Reject negative signum in signal, sigaction
closes #270
2023-04-08 07:34:04 +09:00
K. Lange
738631f0ae kernel: Interrupting fswait should return -EINTR 2023-02-20 09:25:52 +09:00
K. Lange
81cf0f729e tty: support IUCLC since we support OLCUC 2023-02-17 09:00:22 +09:00
K. Lange
3211306608 kernel: fixup issues with timeouts in fswait3 2023-02-16 16:09:20 +09:00
K. Lange
a4a73a0835 boot: Don't jump back to protected mode in EFI loader 2023-01-05 15:39:44 +09:00
K. Lange
940d82f0f4 terminal: Bitmap font can use uint8_t
The baked Deja Vu Sans Mono is 8 pixels wide, so we don't need
to use uint16_t to hold rows of pixel data. Also, splash-log
doesn't render text anymore (it defers to the kernel console),
so we don't need to include the font there any more.
2022-12-13 15:08:56 +09:00
K. Lange
cb3432ebcf kernel: fix swapped LCUC conversion in tty 2022-12-07 13:40:55 +09:00
K. Lange
d52d502f5c kernel: brute-force locking around unmap syscall, should make thread stuff more stable? 2022-11-08 10:35:45 +09:00
K. Lange
bf2c51426d kernel: proc->group may have exited
Handling of thread parents needs to be better... the initial thread
of a process can disappear, and with pid reuse it could even be
replaced by a different process... this needs to be cleaned up more.
2022-10-29 17:27:05 +09:00
K. Lange
5ef5d4c6b6 kernel: Update version codename 2022-10-22 12:02:50 +09:00
K. Lange
d5d8941a2d kernel: we have more than 31 signals... 2022-10-10 16:04:13 +09:00
K. Lange
3743ee8e4d kernel: enable -Wstrict-prototypes 2022-09-17 13:37:02 +09:00
K. Lange
e80d2da3f3 net: Cleanup headers 2022-09-17 13:35:31 +09:00
K. Lange
5815adca7d procfs: RUNNING processes should have state R 2022-09-02 13:15:24 +09:00
K. Lange
ce625f2137 aarch64: enable userspace access to timer physical counter 2022-08-30 17:12:49 +09:00
K. Lange
1960006ec7 aarch64: dump regs on unknown fatal exceptions 2022-08-30 17:12:18 +09:00
K. Lange
ecbe7f6cbb aarch64: don't be so intent on running driver bringup on cpu0 2022-08-30 17:11:42 +09:00
K. Lange
d2f3644430 kernel: fixup ptrace signal delivery, again 2022-08-18 19:42:17 +09:00
K. Lange
5aa2b32101 kernel: Return signal number that caused process to stop 2022-08-18 19:20:43 +09:00
K. Lange
88a1df00a6 tty: do not print line feed after ^C, et al. 2022-08-18 18:34:21 +09:00
K. Lange
dd33c722c5 kernel: fix waitpid() with WSTOPPED; only return on state change? 2022-08-18 18:19:15 +09:00
K. Lange
745bc29a26 kernel: rudimentary sigwait 2022-08-18 16:56:43 +09:00
K. Lange
37bd4e08cb kernel: add sigsuspend 2022-08-18 15:09:23 +09:00
K. Lange
ab4c474768 kernel: Handle some invalid arguments in signal syscalls 2022-08-18 15:08:56 +09:00
K. Lange
5f643d7034 kernel: don't SUID traced processes 2022-08-18 05:42:48 +09:00
K. Lange
ebd55bc204 tmpfs: Don't completely bomb on trying to unlink a directory 2022-08-17 19:30:17 +09:00
K. Lange
fff099c598 kernel: add missing PTRCHECK to sys_readline; fixes #250 2022-08-17 08:49:12 +09:00
K. Lange
c554bf581c kernel: Support SA_NODEFER 2022-08-06 18:24:06 +09:00
K. Lange
083ab387f3 kernel: more signal functions 2022-08-06 18:19:27 +09:00
K. Lange
2906476825 kernel: Add sigaction 2022-08-06 18:03:39 +09:00
K. Lange
eed45cbba9 i965: cleanup, clear screen on initial mode set 2022-07-25 09:51:04 +09:00
K. Lange
0d23a04c6c aarch64: add ext2, iso9660 modules; JUMP26 reloc 2022-04-18 20:37:26 -04:00
K. Lange
5ed3dc0640 virtio: Remove unused PCI cap parsing 2022-04-18 10:03:19 -04:00
K. Lange
2639c786da procfs: fill on open for consistent reads 2022-04-17 22:23:14 -04:00
K. Lange
083587733a procfs: times are reported in microseconds 2022-04-17 21:05:59 -04:00
K. Lange
f44a6bbe9a aarch64: read rtc time again on qemu 2022-04-17 18:22:53 -04:00
K. Lange
9ecad97b64 virtio: these F keys should work too 2022-04-13 22:20:12 -04:00
K. Lange
71ce811a65 virtio: map command to left super 2022-04-13 18:18:13 -07:00
K. Lange
8019a59632 kernel: disable some printfs 2022-04-13 16:19:56 -07:00
K. Lange
f144266bc5 aarch64: ac97 driver as module 2022-04-13 16:19:56 -07:00
K. Lange
7fbb7d64d7 aarch64: e1000 driver as module 2022-04-13 16:19:56 -07:00