Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-12 | signal: Remove old way of sending signals and instead use procfs | Anton Kling | |
2024-12-08 | vfs: Bug fix... | Anton Kling | |
The commit is self explanatory. It was a simple mistype that went unnoticed for a while. | |||
2024-12-08 | vfs: Force truncation even without permissions | Anton Kling | |
O_TRUNC as a mode does not seem to imply write permissions but we still wish to truncate the file before giving back a file descriptor. Therefore the kernel can now override any permission checks if it wishes to do a truncation while still using the "ordinary path". | |||
2024-11-30 | vfs: Move read() to vfs.c | Anton Kling | |
2024-11-23 | vfs: Support O_TRUNC | Anton Kling | |
2024-11-23 | vfs: Add O_APPEND support + refactoring | Anton Kling | |
2024-11-22 | vfs: Add dup() | Anton Kling | |
2024-11-22 | vfs: Close new file descriptor if already in use when calling dup2 | Anton Kling | |
2024-07-08 | Kernel/Net: Don't use kmalloc to create send buffers | Anton Kling | |
Current method is also really bad since it uses multiple copies when it should instead just copy to the send buffer of the network card directly. But I have other things that I want to prioritize first. | |||
2024-07-05 | TCP: Add back support for listening on a socket | Anton Kling | |
2024-07-01 | VFS: Move towards unifying vfs_inode_t and vfs_fd_t | Anton Kling | |
There is no need for these to be seperate. They will probably move to the same struct soon. | |||
2024-06-26 | Kernel: Code cleanup | Anton Kling | |
2024-06-26 | Libc/Kernel: Add fcntl() | Anton Kling | |
2024-06-26 | Remove mread | Anton Kling | |
2024-06-26 | Ext2: Bug fix | Anton Kling | |
2024-06-25 | VFS: dup2 fixes | Anton Kling | |
2024-06-22 | Kernel stuff | Anton Kling | |
2024-06-17 | Reorganize logging code | Anton Kling | |
2024-06-09 | Add UDP | Anton Kling | |
2024-04-29 | Kernel/Socket: Move sockets back to being file descriptors | Anton Kling | |
2024-04-27 | Kernel: Make "relist" able to dynamically resize | Anton Kling | |
2024-04-27 | Kernel: Make file descriptor numbers reusable. | Anton Kling | |
Instead of using the "append only" list it now uses "relist" which allows for indexes to be removed. | |||
2024-04-26 | Kernel/VFS: Change polling from variables to functions | Anton Kling | |
Instead of having to store state in variables functions are called to check the object directly. | |||
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-17 | VFS/LibC: Fix small bugs | Anton Kling | |
2024-04-15 | Bug fix and cleanup. | 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-21 | New clang-format options | 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-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-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 | Kernel Style: Change uint*_t -> u* | Anton Kling | |
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. |