asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2022-10-20 06:21:28 +00:00
de167c3c67 sh: Show last command' exit status in prompt if non-zero
cd9ecc1746 Kernel: Return EFAULT when the kernel believes the wstatus pointer is invalid
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 19:13:56 +00:00
44bd93b8b4 apps: Add a hello app
f682258fc9 sym: do not sleep
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 19:11:48 +00:00
2c813f5901 apps: Add more simple apps
47bdfecedb Devices: Add /dev/uptime
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 18:52:03 +00:00
1938a059a2 Kernel: Free the last spawned thread's PID on exit
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 18:43:14 +00:00
aebd860947 libc: Add stdin
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 18:36:37 +00:00
ba57f32f39 init: wait less before starting sh
asleepymoon pushed to main at asleepymoon/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 »
asleepymoon opened issue asleepymoon/Luna#14 2022-10-19 18:33:27 +00:00
weird memory stuff
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 18:16:35 +00:00
7e9744419e sh: Improve it
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 17:42:19 +00:00
3c5c92c7c3 sh: Add a simple interactive shell
asleepymoon pushed to main at asleepymoon/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 »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 15:41:33 +00:00
b035795eb3 Kernel: Move errno.h and (k)assert.h out of the main include directory
asleepymoon pushed to main at asleepymoon/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 »
asleepymoon pushed to main at asleepymoon/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 »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-19 05:56:22 +00:00
755242719c VMM: Add a few memsets
asleepymoon pushed to main at asleepymoon/Luna 2022-10-18 19:31:03 +00:00
671f2a2de3 Kernel, libc: Implement waitpid()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-18 19:10:02 +00:00
bb00e3c112 Kernel: Guard against recursive panics
asleepymoon pushed to main at asleepymoon/Luna 2022-10-18 16:41:27 +00:00
59506b8852 Kernel: Show current_task's name in the log
asleepymoon pushed to main at asleepymoon/Luna 2022-10-18 16:28:41 +00:00
f1bfa6bec8 Build system: more cflags + stripping
asleepymoon pushed to main at asleepymoon/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 »