mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
8554952690
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. |
||
---|---|---|
.. | ||
bind-local-socket-to-symlink.cpp | ||
bxvga-mmap-kernel-into-userspace.cpp | ||
CMakeLists.txt | ||
crash-fcntl-invalid-cmd.cpp | ||
crash.cpp | ||
elf-execve-mmap-race.cpp | ||
elf-symbolication-kernel-read-exploit.cpp | ||
fuzz-syscalls.cpp | ||
kill-pidtid-confusion.cpp | ||
mmap-write-into-running-programs-executable-file.cpp | ||
mprotect-multi-region-mprotect.cpp | ||
munmap-multi-region-unmapping.cpp | ||
nanosleep-race-outbuf-munmap.cpp | ||
null-deref-close-during-select.cpp | ||
null-deref-crash-during-pthread_join.cpp | ||
path-resolution-race.cpp | ||
pthread-cond-timedwait-example.cpp | ||
setpgid-across-sessions-without-leader.cpp | ||
stress-truncate.cpp | ||
stress-writeread.cpp | ||
TestEFault.cpp | ||
TestKernelAlarm.cpp | ||
TestKernelFilePermissions.cpp | ||
TestKernelPledge.cpp | ||
TestKernelUnveil.cpp | ||
TestMemoryDeviceMmap.cpp | ||
TestMunMap.cpp | ||
TestProcFS.cpp | ||
uaf-close-while-blocked-in-read.cpp | ||
unveil-symlinks.cpp |