Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-26 | Kernel: More out of memory condition checks | Anton Kling | |
2024-04-23 | VFS: Fix reference count of file descriptors. | Anton Kling | |
It appears that there was a race condition where the process got closed before the server accepted the incoming request. Causing the file descriptor to have "0" in the reference count but it would still be given when calling accept. | |||
2024-04-18 | Ext2: Fix uninitalized memory when reading inode header | Anton Kling | |
2024-04-17 | VFS/LibC: Fix small bugs | Anton Kling | |
2024-04-17 | Kernel/ext2: Fix small bugs in ext2 fs implementation. | Anton Kling | |
2024-04-15 | Bug fix and cleanup. | Anton Kling | |
2024-04-13 | Kernel: Don't hard fail if the kernel can't allocate memory. | Anton Kling | |
Currently this is just a improvement of error handling but it should also try to free up memory where it is possible. | |||
2024-04-11 | bug fixes | Anton Kling | |
2024-04-02 | Kernel: Use "struct list" to handle file descriptors instead of a fixed ↵ | Anton Kling | |
sized array | |||
2024-04-02 | Kernel: Fix some memory leaks | Anton Kling | |
2024-03-28 | new stuff | Anton Kling | |
2024-03-26 | Increase support for signals | Anton Kling | |
2024-03-25 | Random changes | Anton Kling | |
2024-03-17 | stuff | Anton Kling | |
2024-03-14 | random changes made | Anton Kling | |
2024-02-28 | TCP/UDP: Start rewrite of network sockets | Anton Kling | |
Having sockets be file descriptors seems like a bad idea so I trying to make UDP and TCP sockets be more independent and not be abstracted away as much. | |||
2024-02-21 | Kerenel: Cleanup halt checking code | Anton Kling | |
2024-02-21 | New clang-format options | Anton Kling | |
2024-02-07 | A lot of small changes | Anton Kling | |
2023-11-28 | Meta: Apply new clang-format rules to kernel | Anton Kling | |
2023-11-22 | Meta: Use dirent as a general include file | Anton Kling | |
This include file is shared by the kernel and libc | |||
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-18 | VFS: Do not add extra '/' on root path. | Anton Kling | |
2023-11-17 | Kernel: Add isatty syscall | Anton Kling | |
2023-11-16 | VFS: Do canonicalization of the current working directory | Anton Kling | |
2023-11-16 | ext2: Fix directory resolution | Anton Kling | |
Previously a parsing of /usr/../ would fail as it would be searching '/' for a empty file even though the desired outcome if for it to stop parsing after reaching '/'. The solution is to give the current directory inode if the file searched for in the directory is empty. | |||
2023-11-15 | Kernel/LibC: Add chdir function and syscall | Anton Kling | |
2023-11-15 | VFS: Add stat | Anton Kling | |
2023-11-15 | VFS: Bug fix. Uninitalized structure member. | Anton Kling | |
This was found thanks to kmalloc now filling new allocations with random data. | |||
2023-11-15 | ext2: Bug fix. Add padding to the block group descriptor. | Anton Kling | |
2023-11-13 | AHCI: Add write function. | Anton Kling | |
This also changes the ext2 filesystem so it will now write to the file it mounted. Currently the file mounted is /dev/sda which points to a SATA drive. | |||
2023-11-13 | Kernel: Add support for AHCI and make use of it with the current filesystem. | Anton Kling | |
It will now also create a corresponding /dev/sd* device for each detected SATA drive. The filesystem still writes using the ATA driver. This should be fixed soon. | |||
2023-11-13 | Kernel: Remove kmalloc_eternal | Anton Kling | |
I would like to be able to free some of those objects but I have not decided upon how that will be done yet. Even if not freeded the added complexity of having two functions does not make the extra bytes saved worth it IMO. | |||
2023-11-10 | Ext2: Change char* to u8* where the type is referencing data and not a C | Anton Kling | |
string | |||
2023-11-10 | Kernel Style: Change uint*_t -> u* | Anton Kling | |
2023-11-10 | Kernel/Memory: Fill new allocations with random data. | Anton Kling | |
This should make it easier to spot uninitalized memory being used. | |||
2023-11-10 | Kernel/fs: Dynamically allocate based upon file size. | Anton Kling | |
This commit also changes "unsigned char" to "char". A slight step in the direction of making my coding style less bipolar. | |||
2023-11-09 | Kernel/fs: Dynamically allocate depending upon file size of directory. | Anton Kling | |
This also solves a bug where the data_p pointer could get out of range due to incorrect assumptions being made about the ext2 directory layout. To be fair even a faulty ext2 directory layout should not be able to cause memory bugs. | |||
2023-10-31 | Meta: Move kernel and userland to their own folders. | Anton Kling | |
This is to allow both the kernel and the userland to share certain header files and to make the folder structure a bit more clear. |