asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 17:07:40 +00:00
ea886f58a0 Update README.md
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 16:43:54 +00:00
8a7ddfca80 exec: Use check_elf_image()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 16:38:24 +00:00
1a54342454 Sanity check
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 16:37:38 +00:00
d4c4c0177d compilation fix :)
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 16:37:06 +00:00
3ac9fed23a ELFLoader: Add check_elf_image() and check_elf_image_from_filesystem()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 16:23:58 +00:00
261fc73146 ELFLoader: Read the ELF file header by header using the VFS
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 16:04:33 +00:00
7a2e313a20 init: demo execv()
e9df5fd663 exec: Copy pathname into kernel memory, since the user memory where it resides is going to be freed
bcbf43e55c Kernel/std: Add strdup()
Compare 3 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 15:46:03 +00:00
531afc3d6f libc: Add support for the new exec() system call
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 15:42:07 +00:00
f8b3567042 Kernel: Add an exec() syscall
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 15:16:02 +00:00
34c35163e4 libc: use the normal names that everybody uses for stdout and stderr
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 15:14:54 +00:00
dfdc3b2d11 libc: close fds 0 and 1 before opening stdout and stderr
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 15:12:17 +00:00
25a460e3c6 Scheduler: clear user tasks' registers
136c0b3ae9 Scheduler: add a reset_task function
4e3ef9593d Scheduler: Move ELF image freeing to ELFLoader
a6f0a7056f Scheduler: Set the user_task field in a Task at creation time
Compare 4 commits »
asleepymoon closed issue asleepymoon/Luna#1 2022-10-12 14:11:57 +00:00
Processes
asleepymoon commented on issue asleepymoon/Luna#1 2022-10-12 14:11:57 +00:00
Processes

I think our Task structure is complex enough that it can be considered a process. We don't need separate threads of execution at this point in time, I think - that will be a concern for later.

W…

asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:56:10 +00:00
edda41a7bb libc: Implement fseek(), ftell() and rewind()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:37:35 +00:00
4a5db1dca7 libc: Add lseek()
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:32:14 +00:00
928ade123c libc: Add support for the new seek() system call
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:30:47 +00:00
e40304f2f1 libc: Add off_t to sys/types.h
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 13:29:03 +00:00
854f585e1a Kernel: Add a seek() system call
97b7572933 VFS: Implement a new type of Node, VFS_DEVICE
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2022-10-12 12:51:10 +00:00
0f5910add7 Kernel/Utilities: Add new round_{up,down}_to_nearest_page functions
baa71b09cc Kernel: Build with -fstack-protector-strong instead of -fstack-protector-all
Compare 2 commits »