summaryrefslogtreecommitdiff
path: root/userland/libc
AgeCommit message (Collapse)Author
2024-07-08LibC: Optimize mallocAnton Kling
2024-07-01LibC: Change how kill() worksAnton Kling
2024-06-27stuffAnton Kling
2024-06-26LibC: Fix regression in printfAnton Kling
printf did not write out anything for %d when the value was zero.
2024-06-26Libc/Kernel: Add fcntl()Anton Kling
2024-06-26Networking stuffAnton Kling
TCP is now in a somewhat good state
2024-06-26LibC: Fix printf formattingAnton Kling
Previously %02x would not print out padding if the given value was zero.
2024-06-24Kernel: Purge unused/bad syscallsAnton Kling
2024-06-23LibC: Include delim in getdelim if it was seenAnton Kling
2024-06-22LibC: Fix bugs relating to fseekAnton Kling
2024-06-21LibC: Add ldexpAnton Kling
2024-06-20Add getaddrinfo and change other libc stuffAnton Kling
2024-05-05LibC: fflush() should not dereference stream if it is NULLAnton Kling
2024-05-02sh: Use string view instead of C stringsAnton Kling
2024-04-29Kernel/LibC: Remove unused syscallsAnton Kling
2024-04-29Kernel/IRC: Add setsockopt and move IRC client to use new socket interfaceAnton Kling
2024-04-29Kernel/Socket: Move sockets back to being file descriptorsAnton Kling
2024-04-21LibC: Add different isX() functionsAnton Kling
2024-04-18LibC/Kernel: Move lseek/seek to kernelAnton Kling
2024-04-18LibC: Fix bug in sv_cloneAnton Kling
2024-04-18LibC: Fix compiler warningsAnton Kling
It can now compile with almost all compiler warnings turned on without producing any warnings.
2024-04-17VFS/LibC: Fix small bugsAnton Kling
2024-04-17Kernel/LibC: Add fstat() and remove stat() syscallAnton Kling
2024-04-17LibC: Add more functions that support "long long" integersAnton Kling
2024-04-17LibC: Add memchr()Anton Kling
2024-04-15Bug fix and cleanup.Anton Kling
2024-04-12Kernel/MMU: Dellocate pagedirectory when process exits.Anton Kling
2024-04-11bug fixesAnton Kling
2024-04-02Kernel: Fix some memory leaksAnton Kling
2024-03-26Increase support for signalsAnton Kling
2024-03-25Random changesAnton Kling
2024-03-21libc: fix malloc implementationAnton Kling
I don't know what was wrong but memory allocations were failing. I removed the old code and replaced it with the malloc implementation which exists in the kernel. Now it doesn't crash so I guess it is fine ¯\_(ツ)_/¯
2024-03-19IRC: Add the IRC client I am working onAnton Kling
2024-03-17stuffAnton Kling
2024-03-14random changes madeAnton Kling
2024-02-22Kernel: Fix undefined behavior and cleanup functions.Anton Kling
The int_syscall caused crashes for higher level of optimizations. To fix this I rewrote the function in assembly as I deemed it to be simpler.
2024-02-07Minor fixAnton Kling
2024-02-07A lot of small changesAnton Kling
2023-12-18Add untracked filesAnton Kling
2023-11-28Kernel: Add basic IPC and move to microkernel design.Anton Kling
The IPC design is currently a WIP and is nowhere near complete
2023-11-24LibC: Fill new allocations with random data and fix a bugAnton Kling
The bug was noticed as a result of this new randomization of allocations.
2023-11-24Refactor write() and pwrite()Anton Kling
2023-11-24Refactor open()Anton Kling
2023-11-23Kernel/LibC: Add randomfill() syscall.Anton Kling
This syscall aims to fill the given buffer with cryptographically secure random data. If the syscall returns and does not cause a page fault it will **always** have filled the buffer with random data and never gives back any error value.
2023-11-23LibC: Move assembly to its own file to avoid using inlineAnton Kling
This was a ugly hack and in this case it caused undefined behavior.
2023-11-23LibC: Reduce warnings in codeAnton Kling
2023-11-22LibC: Add fflush() and buffer writes to file descriptorsAnton Kling
2023-11-22Meta: Use dirent as a general include fileAnton Kling
This include file is shared by the kernel and libc
2023-11-22Kernel/LibC: Change file type detectionAnton Kling
2023-11-22Meta: Cleanup of header files such that they are partially sharedAnton Kling
The /include directory contains definitons that both the kernel and libc need to be in sync.