ladybird/Tests/Kernel
Liav A 8554952690 Kernel + WindowServer: Re-define the interface to framebuffer devices
We create a base class called GenericFramebufferDevice, which defines
all the virtual functions that must be implemented by a
FramebufferDevice. Then, we make the VirtIO FramebufferDevice and other
FramebufferDevice implementations inherit from it.
The most important consequence of rearranging the classes is that we now
have one IOCTL method, so all drivers should be committed to not
override the IOCTL method or make their own IOCTLs of FramebufferDevice.
All graphical IOCTLs are known to all FramebufferDevices, and it's up to
the specific implementation whether to support them or discard them (so
we require extensive usage of KResult and KResultOr, together with
virtual characteristic functions).
As a result, the interface is much cleaner and understandable to read.
2021-10-27 07:57:44 +03:00
..
bind-local-socket-to-symlink.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
bxvga-mmap-kernel-into-userspace.cpp Kernel + WindowServer: Re-define the interface to framebuffer devices 2021-10-27 07:57:44 +03:00
CMakeLists.txt Tests: Add a unit test to ensure the /dev/mem device works correctly 2021-10-22 13:13:00 +02:00
crash-fcntl-invalid-cmd.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
crash.cpp Kernel: Move x86 IO instructions code into the x86 specific folder 2021-10-01 12:27:20 +02:00
elf-execve-mmap-race.cpp Tests: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
elf-symbolication-kernel-read-exploit.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
fuzz-syscalls.cpp Tests: Fix compile errors on Clang 2021-07-14 13:12:25 +02:00
kill-pidtid-confusion.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
mmap-write-into-running-programs-executable-file.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
mprotect-multi-region-mprotect.cpp Tests: Fix typos 2021-10-01 01:33:43 +01:00
munmap-multi-region-unmapping.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
nanosleep-race-outbuf-munmap.cpp Tests: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
null-deref-close-during-select.cpp Tests: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
null-deref-crash-during-pthread_join.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
path-resolution-race.cpp Tests: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
pthread-cond-timedwait-example.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
setpgid-across-sessions-without-leader.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
stress-truncate.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
stress-writeread.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
TestEFault.cpp Tests/Kernel: Fix test after off-by-one fix in Memory::is_user_range() 2021-09-11 04:15:16 +00:00
TestKernelAlarm.cpp Tests: Add coverage for sys$alarm() success case 2021-08-03 18:44:01 +02:00
TestKernelFilePermissions.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestKernelPledge.cpp Tests: Add test coverage for sys$pledge(..) argument validation 2021-07-23 19:02:25 +02:00
TestKernelUnveil.cpp Tests: Add test coverage for sys$unveil(..) argument validation 2021-07-23 19:02:25 +02:00
TestMemoryDeviceMmap.cpp Tests: Add a unit test to ensure the /dev/mem device works correctly 2021-10-22 13:13:00 +02:00
TestMunMap.cpp Kernel: Unmapping a non-mapped region with munmap() should be a no-op 2021-07-30 13:16:55 +02:00
TestProcFS.cpp Tests: TestProcFs cannot assume stdin/stdout/stderr are the same 2021-06-30 08:18:28 +04:30
uaf-close-while-blocked-in-read.cpp Tests: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
unveil-symlinks.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00