apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2023-03-16 23:00:41 +00:00
d86da05bea libluna/TarStream: Remove unused functionality
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2023-03-16 21:45:13 +00:00
8c72e9a49a kernel: Add an exec() system call
apio pushed to main at apio/Luna 2023-03-14 19:43:24 +00:00
08c888eaae kernel+libc: Remove (de)allocate_memory and replace it with POSIX mmap
apio pushed to main at apio/Luna 2023-03-12 16:38:41 +00:00
80a897fbc5 libc: Add fileno()
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2023-03-12 15:55:57 +00:00
d66506256d kernel/VFS+libc: Introduce modes
apio pushed to main at apio/Luna 2023-03-12 15:30:46 +00:00
02dbcbbfa1 kernel: Add strdup_from_user()
apio pushed to main at apio/Luna 2023-03-12 14:32:22 +00:00
682d3c753e kernel+libc: Add mkdir()
apio pushed to main at apio/Luna 2023-03-12 14:21:01 +00:00
d2049567c8 libluna+libc: Add strncmp, strncat and strncpy
apio pushed to main at apio/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
apio pushed to main at apio/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 »
apio pushed to main at apio/Luna 2023-03-12 12:15:36 +00:00
7e655e320a kernel+libc: Add the lseek() syscall, and fseek, ftell, rewind, fsetpos, and fgetpos
292433dc39 kernel+libc: Add the write() system call, and fwrite()
Compare 2 commits »
apio pushed to main at apio/Luna 2023-03-12 10:15:52 +00:00
92dbe58729 libc: Unify function descriptions
apio pushed to main at apio/Luna 2023-03-12 10:10:30 +00:00
36e0a1e970 libc: Add definitions for strnlen, strndup and strlcpy to string.h
apio pushed to main at apio/Luna 2023-03-12 09:45:28 +00:00
377b8bea43 libc: Adjust comment in string.cpp
apio pushed to main at apio/Luna 2023-03-12 09:43:20 +00:00
3b03e19489 libc: Replace usize with size_t in string.h
apio pushed to main at apio/Luna 2023-03-12 09:39:57 +00:00
12bc59ead5 libc: Add strspn, strcspn, and strtok declarations to string.h
apio pushed to main at apio/Luna 2023-03-12 09:29:00 +00:00
af0cb83a58 libluna+kernel: Get rid of nullcpy()
7649b44aab libc: Add declaration for strrchr (already implemented)
Compare 2 commits »