ladybird/AK
Andreas Kling b59ce22fc5 Fix dumb-but-hard-to-find bug in paging.
This was the fix:

-process.m_page_directory[0] = m_kernel_page_directory[0];
-process.m_page_directory[1] = m_kernel_page_directory[1];
+process.m_page_directory->entries[0] = m_kernel_page_directory->entries[0];
+process.m_page_directory->entries[1] = m_kernel_page_directory->entries[1];

I spent a good two hours scratching my head, not being able to figure out why
user process page directories felt they had ownership of page tables in the
kernel page directory.

It was because I was copying the entire damn kernel page directory into
the process instead of only sharing the two first PDE's. Dang!
2018-11-03 00:35:57 +01:00
..
.gitignore Run without SimpleMalloc locally for now. 2018-10-10 15:11:43 +02:00
Assertions.h Canonicalize the path used by sh. 2018-10-28 09:36:21 +01:00
Bitmap.h Import all this stuff into a single repo called Serenity. 2018-10-10 11:53:07 +02:00
Buffer.h Integrate ext2 from VFS into Kernel. 2018-10-17 10:57:23 +02:00
BufferStream.h Lots of hacking to make a very simple "ls" utility. 2018-10-24 12:50:07 +02:00
ByteBuffer.h Greatly improve /proc/PID/stack by tracing the ebp frame chain. 2018-10-27 00:14:24 +02:00
CircularQueue.h Lots of hacking: 2018-10-23 10:12:50 +02:00
Compiler.h Add getpwent() family of functions to LibC. 2018-10-31 19:54:25 +01:00
DoublyLinkedList.h Implement /proc/PID/vm. 2018-10-26 17:44:19 +02:00
FileSystemPath.cpp Add a simple FileSystemPath class that can canonicalize paths. 2018-10-28 08:54:20 +01:00
FileSystemPath.h Add a simple FileSystemPath class that can canonicalize paths. 2018-10-28 08:54:20 +01:00
Function.h Start adding a basic /proc filesystem and a "ps" utility. 2018-10-23 12:04:03 +02:00
HashFunctions.h Better int hashing. This was going to bite me sooner or later. 2018-10-27 09:33:24 +02:00
HashMap.h Add a very naive block cache to the DiskBackedFileSystem. 2018-10-25 12:36:50 +02:00
HashTable.h Implement /proc/PID/vm. 2018-10-26 17:44:19 +02:00
kmalloc.cpp Add a kmalloc_eternal() for things that will never be destroyed. 2018-10-31 23:19:15 +01:00
kmalloc.h Add a kmalloc_eternal() for things that will never be destroyed. 2018-10-31 23:19:15 +01:00
kstdio.h Import very modest Userland. 2018-10-22 14:06:22 +02:00
ktime.h Import very modest Userland. 2018-10-22 14:06:22 +02:00
Lock.h Add an inode metadata cache to the ext2fs implementation. 2018-10-29 23:45:34 +01:00
Makefile Add a simple FileSystemPath class that can canonicalize paths. 2018-10-28 08:54:20 +01:00
MappedFile.cpp Start fixing up AK to work inside the kernel. 2018-10-16 13:59:28 +02:00
MappedFile.h Import all this stuff into a single repo called Serenity. 2018-10-10 11:53:07 +02:00
OwnPtr.h Implement /proc/PID/vm. 2018-10-26 17:44:19 +02:00
printf.cpp printfing a number or string bigger than the field width should not crash. 2018-10-31 22:40:10 +01:00
Retainable.h Add an inode metadata cache to the ext2fs implementation. 2018-10-29 23:45:34 +01:00
RetainPtr.h Add an inode metadata cache to the ext2fs implementation. 2018-10-29 23:45:34 +01:00
SimpleMalloc.cpp Start fixing up AK to work inside the kernel. 2018-10-16 13:59:28 +02:00
SimpleMalloc.h Import all this stuff into a single repo called Serenity. 2018-10-10 11:53:07 +02:00
SinglyLinkedList.h Make SinglyLinkedList destruction actually work. 2018-10-13 14:29:00 +02:00
StdLib.h Canonicalize the path used by sh. 2018-10-28 09:36:21 +01:00
String.cpp Add getpwent() family of functions to LibC. 2018-10-31 19:54:25 +01:00
String.h Add getpwent() family of functions to LibC. 2018-10-31 19:54:25 +01:00
StringBuilder.cpp Fix broken SpinLock. 2018-10-29 22:04:26 +01:00
StringBuilder.h Import all this stuff into a single repo called Serenity. 2018-10-10 11:53:07 +02:00
StringImpl.cpp Add a CircularQueue template class to AK. 2018-10-22 22:46:02 +02:00
StringImpl.h Oops, StringImpl's "the empty string" global was not always initialized. 2018-10-22 13:10:08 +02:00
TemporaryFile.cpp Import all this stuff into a single repo called Serenity. 2018-10-10 11:53:07 +02:00
TemporaryFile.h Import all this stuff into a single repo called Serenity. 2018-10-10 11:53:07 +02:00
test.cpp Fix broken SpinLock. 2018-10-29 22:04:26 +01:00
Traits.h Fix broken SpinLock. 2018-10-29 22:04:26 +01:00
Types.h Import very modest Userland. 2018-10-22 14:06:22 +02:00
Vector.h Fix dumb-but-hard-to-find bug in paging. 2018-11-03 00:35:57 +01:00
Weakable.h Start using WeakPtr for some of the WindowManager window pointers. 2018-10-13 17:00:45 +02:00
WeakPtr.h Start using WeakPtr for some of the WindowManager window pointers. 2018-10-13 17:00:45 +02:00