asleepymoon
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 22:59:12 +00:00
40f01c825d libc: Add fork()
54f2d35416 kernel: Add the fork() system call
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 21:31:25 +00:00
e664af4c2b libc: Add execv()
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 21:25:33 +00:00
a4ac3c85ed kernel+libc: Copy argv to userspace
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 20:56:41 +00:00
0b00dc3fe4 kernel/exec: Rename item to string_addr
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 20:55:27 +00:00
7f50893786 kernel/exec: Copy argv from userspace
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 19:13:04 +00:00
49952320d6 kernel+libluna: Remove console_write entirely
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 19:11:27 +00:00
cb1ef3e404 libc: Add (v)fprintf and make (v)printf use that
6a6a56a8b4 kernel: Make /dev/console actually respect the length parameter instead of trusting userspace's null terminators
d01ba20749 kernel/TextConsole: Add a write() function that accepts a fixed-size buffer instead of relying on null terminators
629ed9e43b libc: Start switching to /dev/console for console IO and add a proper init
Compare 4 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-18 08:13:39 +00:00
8c831a6906 libc: Add mknod()
7173c05a22 kernel: Add support for special device files and add a mknod() syscall
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-16 23:00:41 +00:00
d86da05bea libluna/TarStream: Remove unused functionality
asleepymoon pushed to main at asleepymoon/Luna 2023-03-16 22:03:02 +00:00
b9e8030aac kernel: Free the initial ramdisk memory after copying everything into the VFS
59838f1225 kernel: Replace some raw divisions with get_blocks_from_size()
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-16 21:45:13 +00:00
8c72e9a49a kernel: Add an exec() system call
asleepymoon pushed to main at asleepymoon/Luna 2023-03-14 19:43:24 +00:00
08c888eaae kernel+libc: Remove (de)allocate_memory and replace it with POSIX mmap
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 16:38:41 +00:00
80a897fbc5 libc: Add fileno()
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 16:37:02 +00:00
3cc2e4b2a4 app: Use C FILE instead of POSIX fd, and switch back to /etc/motd
9e9f268562 libc: Make fopen() parse the mode string
Compare 2 commits »
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 15:55:57 +00:00
d66506256d kernel/VFS+libc: Introduce modes
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 15:30:46 +00:00
02dbcbbfa1 kernel: Add strdup_from_user()
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 14:32:22 +00:00
682d3c753e kernel+libc: Add mkdir()
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 14:21:01 +00:00
d2049567c8 libluna+libc: Add strncmp, strncat and strncpy
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 13:49:28 +00:00
354ffd033c VFS: Add a size() method to inodes to implement seeking to the end of a file
asleepymoon pushed to main at asleepymoon/Luna 2023-03-12 13:44:12 +00:00
b54a7f3a80 kernel+libc: Add O_* flags and parse them in open()
bd572473ad kernel: Remove FileDescriptorTable and add a helper to resolve fds to FileDescriptors
Compare 2 commits »