summaryrefslogtreecommitdiff
path: root/kernel/kmalloc.c
AgeCommit message (Collapse)Author
2024-04-27Kernel: Make "relist" able to dynamically resizeAnton Kling
2024-04-26Kernel: More out of memory condition checksAnton Kling
2024-04-18Kernel: Fix compiler warningsAnton Kling
2024-04-16Kernel: Improve "out of memory" error handlingAnton Kling
It can now boot with fairly low memory while not crashing and instead gracefully failing the operation. Userland still does not properly handle errors.
2024-04-15Bug fix and cleanup.Anton Kling
2024-04-12Kernel/MMU: Dellocate pagedirectory when process exits.Anton Kling
2024-04-02Kernel: Fix some memory leaksAnton Kling
2024-03-26Kernel: Improve kmalloc security and performanceAnton Kling
Fill new and freed allocations with random data unless it is allocated from kcalloc in which case it should be zero filled.
2024-03-25Random changesAnton Kling
2024-03-14random changes madeAnton Kling
2024-02-21New clang-format optionsAnton Kling
2023-11-28Meta: Apply new clang-format rules to kernelAnton Kling
2023-11-13Kernel: Remove kmalloc_eternalAnton 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-13Crypto: Implement fast insecure RNG for overwritting memory areas.Anton Kling
This is mainly done to test for uninitlalized memory and find bugs faster. Therefore it does not need to be cryptographically secure or perfectly uniform. Xoshiro256++ seems like a good fit.
2023-11-10Kernel Style: Change uint*_t -> u*Anton Kling
2023-11-10Kernel/Memory: Fill new allocations with random data.Anton Kling
This should make it easier to spot uninitalized memory being used.
2023-10-31Meta: 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.