Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-16 | libc: Add gai_strerror | Anton Kling | |
2024-12-15 | libc: Add setenv/getenv | Anton Kling | |
2024-12-12 | formatting: Use clang-format on all projects | Anton Kling | |
This commit also add braces to all `if` statements. | |||
2024-12-12 | signal: Remove old way of sending signals and instead use procfs | Anton Kling | |
2024-11-23 | libc: Add append to f(d)open and other fixes | Anton Kling | |
2024-10-03 | libc: Add sendfile and queue | Anton Kling | |
2024-10-03 | libc: small changes | Anton Kling | |
2024-06-27 | stuff | Anton Kling | |
2024-06-26 | LibC: Fix printf formatting | Anton Kling | |
Previously %02x would not print out padding if the given value was zero. | |||
2024-06-20 | Add getaddrinfo and change other libc stuff | Anton Kling | |
2024-04-29 | Kernel/IRC: Add setsockopt and move IRC client to use new socket interface | Anton Kling | |
2024-04-29 | Kernel/Socket: Move sockets back to being file descriptors | Anton Kling | |
2024-04-21 | LibC: Add different isX() functions | Anton Kling | |
2024-04-18 | LibC/Kernel: Move lseek/seek to kernel | Anton Kling | |
2024-04-18 | LibC: Fix compiler warnings | Anton Kling | |
It can now compile with almost all compiler warnings turned on without producing any warnings. | |||
2024-04-17 | Kernel/LibC: Add fstat() and remove stat() syscall | Anton Kling | |
2024-04-17 | LibC: Add more functions that support "long long" integers | Anton Kling | |
2024-04-17 | LibC: Add memchr() | Anton Kling | |
2024-04-11 | bug fixes | Anton Kling | |
2024-04-02 | Kernel: Fix some memory leaks | Anton Kling | |
2024-03-25 | Random changes | Anton Kling | |
2024-02-22 | Kernel: 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. | |||
2023-12-18 | Add untracked files | Anton Kling | |
2023-11-24 | Refactor write() and pwrite() | Anton Kling | |
2023-11-24 | Refactor open() | Anton Kling | |
2023-11-23 | Kernel/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-23 | LibC: Move assembly to its own file to avoid using inline | Anton Kling | |
This was a ugly hack and in this case it caused undefined behavior. | |||
2023-11-23 | LibC: Reduce warnings in code | Anton Kling | |
2023-11-22 | Meta: Cleanup of header files such that they are partially shared | Anton Kling | |
The /include directory contains definitons that both the kernel and libc need to be in sync. | |||
2023-11-17 | LibC: Add isatty() | Anton Kling | |
2023-11-15 | LibC: Add getdelim and getline | Anton Kling | |
2023-11-15 | VFS: Add stat | Anton Kling | |
2023-10-31 | Meta: Create a simple toolchain compilation script | Anton Kling | |
2023-10-30 | Kernel/LibC: Add signals and support for custom signal handlers to processes. | Anton Kling | |
2023-10-30 | Kernel/LibC/Networking: Be able to send UDP messages | Anton Kling | |
Now it can send UDP messages to a specific IP address and libc has enough to create a basic UDP ECHO server, that is kinda cool. | |||
2023-10-30 | Kernel/Networking/LibC: Add syscalls and libc functions for UDP | Anton Kling | |
This allows a UDP server to be created in userland and read data. Currently it can't send data and is very very simplistic. Code is horrible and probably needs some fixing until it can be further built upon. | |||
2023-10-24 | VFS/LibC: Create ftruncate function and corresponding syscall and libc ↵ | Anton Kling | |
implementation Previously this function was only used for shared memory region created by shm_open because I was lazy. Now exists for all files. | |||
2023-10-24 | LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with ↵ | Anton Kling | |
fclose | |||
2023-10-22 | Change CC in Makefiles to not use a absolute path | Anton Kling | |
2023-10-22 | Move everything into a new repo. | Anton Kling | |