Commit Graph

5868 Commits

Author SHA1 Message Date
K. Lange
4c9f9a68e0 kernel: Use a common kidle thread that always calls switch_next 2024-01-22 07:29:34 +09:00
K. Lange
231f708c62 x86_64: Use 0x516 as magic signal return address 2024-01-22 07:24:15 +09:00
K. Lange
d3926009b6 tty: Support SIGTTOU, SIGTTIN behavior 2024-01-19 20:40:53 +09:00
K. Lange
b23c2b1a9e esh: various job control fixes for SIGTTOU, SIGTTIN 2024-01-19 20:40:53 +09:00
K. Lange
e7a681f413 tty: Set control sessions on pty managers 2024-01-19 20:40:53 +09:00
K. Lange
fa8a6e20ab tty: support setting controlling session
This is... kinda backwards? But it works sufficiently for us.
Every TTY has at most one controlling session - every session
is supposed have at most one controlling terminal, too, but we
don't implement that part yet.
2024-01-19 20:12:34 +09:00
K. Lange
0d28bf0904 sudo: pwent may be shared with auth library... 2024-01-18 19:24:11 +09:00
K. Lange
800d131e92 misaka-test: missing include 2024-01-18 06:15:06 +09:00
K. Lange
741844734c x86_64: remove unused ability to return a different interrupt context 2024-01-18 06:14:14 +09:00
K. Lange
4b2932a996 kuroko: sync upstream 2024-01-16 09:30:20 +09:00
K. Lange
c51fba77b9 kuroko: sync upstream 2023-12-31 15:38:42 +09:00
K. Lange
0c83381a53 bim: bind global.scrollamount 2023-12-28 14:49:37 +09:00
K. Lange
0f02ba3d90 libc: wcwidth: latest UCD data 2023-12-28 09:48:05 +09:00
K. Lange
194dfa560b kuroko: bump to initial 1.5.0a0 2023-12-28 08:39:30 +09:00
K. Lange
a535a2cdac libc: actual overrun checks in strftime; fix %z to use proper format 2023-12-23 12:41:11 +09:00
K. Lange
7aaeec1eba kuroko: sync, new module utilities 2023-12-22 11:25:26 +09:00
K. Lange
0ba7a2f985 bim: Use site imports to find standard kuroko modules 2023-12-22 11:20:46 +09:00
K. Lange
a9e6d0ad12 bim: Different approach to finding kuroko search paths 2023-12-15 09:48:23 +09:00
K. Lange
200573230f kuroko: sync, necessary adjustments 2023-12-14 23:07:55 +09:00
K. Lange
6112ca05cb fetch: accept longer lines 2023-12-07 16:22:28 +09:00
K. Lange
ea99f32e9d boot: Add menu option to disable experimental kaslr 2023-12-07 10:36:18 +09:00
K. Lange
a66f5c5f39 kernel: fix cast 2023-12-07 09:30:54 +09:00
K. Lange
8db7b3594b mbi2: Set normal load address 2023-12-07 09:29:36 +09:00
K. Lange
d17ac669aa Merge branch 'master' into static-pie 2023-12-07 09:25:25 +09:00
K. Lange
50053f55de kuroko: sync with 1.4.1a0 2023-11-27 10:32:26 +09:00
K. Lange
b65bbf13a3 boot: rudimentary kaslr 2023-11-10 16:34:54 +09:00
K. Lange
a8b506ad33 kernel: experiment with static-pie 2023-11-10 15:40:41 +09:00
K. Lange
b724489609 kernel: cleanup legacy stuff 2023-11-05 15:25:12 +09:00
K. Lange
d88712e956 kernel: support syscall/sysret 2023-11-05 14:32:47 +09:00
K. Lange
cf04ba62e8 syscall: Change x86-64 syscall register ABI 2023-11-05 10:40:12 +09:00
K. Lange
8392859f4e test-tty-read: test utility for previous commits 2023-11-02 17:13:36 +09:00
K. Lange
2981558e10 stty: 'raw', 'cooked' options 2023-11-02 17:00:13 +09:00
K. Lange
938bbf51eb tty: implement FLUSH on tcsetattr correctly? 2023-11-02 16:59:57 +09:00
K. Lange
2f27cce0cd tty: fix up behavior for VMIN != 0 2023-11-02 16:59:24 +09:00
K. Lange
613bc73dfd kernel: properly track time in kernel when returning to userspace 2023-11-02 10:21:00 +09:00
K. Lange
bbb399788f kernel: utime = ttime - stime 2023-11-02 10:20:40 +09:00
K. Lange
9c2d7f7650 terminal: don't flip window whenever we scroll 2023-10-30 20:44:38 +09:00
K. Lange
b19dcfeb3e meta: More clear Docker build instructions 2023-10-25 12:48:37 +09:00
K. Lange
55e873bd6b x86_64: Fixup error codes for rare/new exceptions 2023-10-25 12:46:36 +09:00
K. Lange
57bd41e16d meta: RIP -soundhw 2023-10-18 07:27:48 +09:00
K. Lange
801193d811 meta: Pass TERM through getty (fwcfg option wasn't used?) 2023-10-10 08:06:26 +09:00
K. Lange
a679ef1b4c kernel: Support quoted values in cmdline arguments with new parser 2023-10-09 20:14:52 +09:00
K. Lange
aebb75ac75 hashmap: Apply 'const' to arguments like we did with the kernel version 2023-10-09 19:56:20 +09:00
K. Lange
d608044bac procfs: once opened, an entry should have a length so we can SEEK_END 2023-10-09 19:56:02 +09:00
K. Lange
afcf36de70 rpi: advertise correct default speed of miniuart
Does not implement setting the baud rate yet, but correctly
advertises that we set it to 921600 by default.
2023-10-09 14:05:36 +09:00
K. Lange
4eec1e07c7 meta: Apply ARCH_USER_CFLAGS when building libc 2023-10-09 08:32:05 +09:00
K. Lange
bda8c8d67b pty: initial support for setting line control 2023-10-08 14:52:34 +09:00
K. Lange
48dcf55a5d ptrace: add demo tool to test overwriting syscall number 2023-10-08 08:34:56 +09:00
K. Lange
453486bc52 strace: generic interface to user registers 2023-10-06 09:05:36 +09:00
K. Lange
aa8d79c81a ptrace: Implement a SETREGS that can rewrite syscall number 2023-10-06 08:56:20 +09:00