apio pushed to main at apio/minitar 2023-02-25 19:30:36 +00:00
f6507e5461 chore: add note to self
apio pushed to main at apio/minitar 2023-02-25 19:28:32 +00:00
7e42b10078 fix: Make the untar example create parent directories if they don't exist (like mkdir -p)
apio pushed to oop-vfs at apio/Luna 2023-02-25 18:34:14 +00:00
5b43345b7d kernel: Implement creating file inodes in tmpfs directories
9248a5b3cc tmpfs: make the root inode a DirInode instead of a FileInode
cca4743a51 tmpfs: add DirInode skeleton
Compare 3 commits »
apio pushed to main at apio/Luna 2023-02-25 17:20:12 +00:00
7dd8e85554 Update README.md with realism
apio commented on pull request apio/Luna#22 2023-02-25 17:19:30 +00:00
Start working on a VFS implementation

Oops, that commit was supposed to be on main.

apio pushed to oop-vfs at apio/Luna 2023-02-25 17:19:05 +00:00
0635f1c243 Update README.md with realism
apio pushed to oop-vfs at apio/Luna 2023-02-25 17:11:48 +00:00
b71d899b52 tmpfs: rename tmpfs::Inode to tmpfs::FileInode
05b627d037 tmpfs: Make m_next_inode_number atomic
6daad7787a kernel: Rename FileSystem::root() to root_inode() and add a shortcut for the root filesystem's root inode
ddc4692671 kernel: Make a factory function for filesystem creation of inodes, and add inode numbers
5edd316198 kernel: Add a subclass of VFS::Inode to make it easier to implement file inodes
Compare 5 commits »
apio commented on pull request apio/Luna#22 2023-02-25 16:49:31 +00:00
Start working on a VFS implementation

Rebased on main, hopefully UBSAN helps.

apio pushed to oop-vfs at apio/Luna 2023-02-25 16:48:43 +00:00
045efc7046 kernel, luna: Port non-VFS changes over from pull request #22
apio pushed to oop-vfs at apio/Luna 2023-02-25 16:45:49 +00:00
6fc02e042a SharedPtr: Implement make_shared using adopt_shared
620810d720 SharedPtr: Delete ptr on failure in all adopt_shared* functions
32ada00b72 kernel: Add a guard page to the bootstrap stack so that we can catch more stack overflows
dc795ff491 luna: Introduce fail(...), a replacement for expect(false, ...)
5f6a659fa1 kernel: Enable UBSAN when building in debug mode
Compare 7 commits »
apio pushed to main at apio/Luna 2023-02-25 16:42:38 +00:00
0985b75057 kernel: Add a guard page to the bootstrap stack so that we can catch more stack overflows
apio pushed to main at apio/Luna 2023-02-25 16:41:32 +00:00
4fd871fdaa luna: Introduce fail(...), a replacement for expect(false, ...)
apio pushed to main at apio/Luna 2023-02-25 16:37:54 +00:00
8352df5ee8 kernel: Enable UBSAN when building in debug mode
da436b3856 luna: Add UB sanitizer, for both kernel-space and userspace
03ed2c3e12 libc: Make dbgln() also print a newline in userspace
Compare 3 commits »
apio pushed to main at apio/Luna 2023-02-25 16:09:13 +00:00
794567327f kernel, luna: Port non-VFS changes over from pull request #22
apio pushed to oop-vfs at apio/Luna 2023-02-25 15:27:40 +00:00
e9e1bef89c OwnedPtr, SharedPtr: Add operator bool
apio pushed to oop-vfs at apio/Luna 2023-02-25 15:22:23 +00:00
ae22321648 Option, Result: Make try_move_value() non-const since it modifies the Option
apio pushed to main at apio/minitar 2023-02-18 21:34:38 +00:00
cb432fd306 docs: Fix potentially confusing statement
apio pushed to oop-vfs at apio/Luna 2023-02-17 23:18:55 +00:00
d842443869 kernel: Switch to a stack we control for the main task as soon as we leave early boot
apio commented on pull request apio/Luna#22 2023-02-17 21:48:33 +00:00
Start working on a VFS implementation

I feel so dumb right now. Anyways, let's move on!

apio pushed to oop-vfs at apio/Luna 2023-02-17 21:47:47 +00:00
37bbc04719 Heap: Fix GPF caused when making many small allocations