apio pushed to main at apio/Luna 2022-10-19 18:43:14 +00:00
aebd860947 libc: Add stdin
apio pushed to main at apio/Luna 2022-10-19 18:36:37 +00:00
ba57f32f39 init: wait less before starting sh
apio pushed to main at apio/Luna 2022-10-19 18:34:21 +00:00
a815beacfb sh: add builtins
20db8eaba6 Init: exit if the primary child process exits
51665a04b7 Kernel: Restart if init exits
Compare 3 commits »
apio opened issue apio/Luna#14 2022-10-19 18:33:27 +00:00
weird memory stuff
apio pushed to main at apio/Luna 2022-10-19 18:16:35 +00:00
7e9744419e sh: Improve it
apio pushed to main at apio/Luna 2022-10-19 17:42:19 +00:00
3c5c92c7c3 sh: Add a simple interactive shell
apio pushed to main at apio/Luna 2022-10-19 15:50:18 +00:00
7ec221c36d libc: Move __luna_syscall* declarations to asm
5816f54293 libc: Move SYS_* constants to sys/syscall.h
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-19 15:41:33 +00:00
b035795eb3 Kernel: Move errno.h and (k)assert.h out of the main include directory
apio pushed to main at apio/Luna 2022-10-19 15:33:08 +00:00
aa90e4a8d9 libc: Implement freopen()
f3af3e252b Kernel: refresh task_misbehave()
ef8ba3dec4 Kernel: Do not hang when a user task misbehaves
Compare 3 commits »
apio pushed to main at apio/Luna 2022-10-19 15:16:15 +00:00
656667812a Kernel: reparent child processes to PID 1 when their parent exits
a29f7f8df2 Kernel: waitpid: support -1 as PID (wait for any child)
48d4a5910a Kernel: Add a few convenience functions to manipulate userland memory
Compare 3 commits »
apio pushed to main at apio/Luna 2022-10-19 05:56:22 +00:00
755242719c VMM: Add a few memsets
apio pushed to main at apio/Luna 2022-10-18 19:31:03 +00:00
671f2a2de3 Kernel, libc: Implement waitpid()
apio pushed to main at apio/Luna 2022-10-18 19:10:02 +00:00
bb00e3c112 Kernel: Guard against recursive panics
apio pushed to main at apio/Luna 2022-10-18 16:41:27 +00:00
59506b8852 Kernel: Show current_task's name in the log
apio pushed to main at apio/Luna 2022-10-18 16:28:41 +00:00
f1bfa6bec8 Build system: more cflags + stripping
apio pushed to main at apio/Luna 2022-10-18 15:36:43 +00:00
01564cb905 libc: Adapt libc to getprocid() + add getppid()
52d391507d Kernel: Rename the getpid() syscall to getprocid()
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-18 15:18:46 +00:00
a9d3bdba6f Kernel: Keep track of a task's PPID
apio pushed to main at apio/Luna 2022-10-18 15:14:19 +00:00
bdf1bb15a1 StackTracer: only show kernel addresses for now, until there are more checks
48d68a3e31 Kernel: Switch back to kernel address space on kernel panic
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-17 19:28:44 +00:00
92d8c9d4d5 Next version!
apio pushed to stable at apio/Luna 2022-10-17 19:28:12 +00:00
3c1146f2c5 libc: Implement setjmp() and longjmp()
511ad67a9a fdopen: Check for malloc errors
e17a21dbad libc: Use fdopen() after calling open() in fopen()
494b48bbe3 init: Adjust init
4f41b9ed37 Scheduler: Implement a find_by_pid function
Compare 86 commits »