asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2022-10-17 15:30:14 +00:00
966fdc76d7 Move userspace task to userspace memory
asleepymoon pushed to main at asleepymoon/Luna 2022-10-17 15:26:24 +00:00
b334e1cd50 VMM: check if the entry is already present
asleepymoon pushed to main at asleepymoon/Luna 2022-10-17 15:24:41 +00:00
682be58d97 AddressSpace: copy instead of linking
asleepymoon pushed to main at asleepymoon/Luna 2022-10-17 15:19:40 +00:00
3bf4f854c7 init: return 0 at the end of main
8b70635e79 Do not strip apps
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-17 15:14:36 +00:00
250db2c90f Scheduler: add an append_task() function
asleepymoon pushed to main at asleepymoon/Luna 2022-10-17 15:07:38 +00:00
c2fa4f380d Kernel: Use the new Task member functions
ce10fb5743 fcntl(F_DUPFD): Allocate any file descriptor greater than or equal to arg
891651f2d6 Task: Move functions operating on Task to member functions
Compare 3 commits »
asleepymoon closed issue asleepymoon/Luna#7 2022-10-16 17:10:16 +00:00
Random restarts
asleepymoon commented on issue asleepymoon/Luna#7 2022-10-16 17:10:16 +00:00
Random restarts

This is pretty much solved now.

asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 17:04:33 +00:00
e34045a78c Kernel: on stack smashing detection, do not trigger a normal panic
asleepymoon commented on pull request asleepymoon/Luna#13 2022-10-16 16:50:24 +00:00
WIP: Add fork()

Will have to come back to this in the future, since the idea is to be UNIX-like, but right now this is solved by commit [9b39d61](https://git.cloudapio.eu/apio/Luna/commit/9b39d618de3494a304fc5e7da…

asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 16:48:44 +00:00
9b39d618de Kernel, libc: Implement spawn()
asleepymoon closed pull request asleepymoon/Luna#13 2022-10-16 16:30:15 +00:00
WIP: Add fork()
asleepymoon commented on pull request asleepymoon/Luna#13 2022-10-16 16:30:15 +00:00
WIP: Add fork()

I think my cheap solution for this right now is going be to introduce a spawn() function to spawn a new executable, and forget about fork() for now. At least until I can figure out why the hell it…

asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 16:23:46 +00:00
a1146a5ce2 Panic: show panic message on screen
asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 15:37:37 +00:00
6d821d2638 libc: Add support for mkdir()
f35bbe52b7 fnctl: Do not switch on cmd
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 15:25:06 +00:00
e1e86ab889 libc: Add support for EEXIST, ENOTDIR, ENOSPC, ENOTSUP and EPIPE to strerror()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 15:22:20 +00:00
d2e2883a79 Kernel: Make mkdir() accessible to userspace
asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 14:58:34 +00:00
18fbccafb7 VFS: add an exists() function
asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 14:00:22 +00:00
0a46feb162 Add strnlen test
asleepymoon pushed to main at asleepymoon/Luna 2022-10-16 13:32:11 +00:00
d62eb6c791 Tests: Add test framework