1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00
ladybird/Kernel
Andreas Kling f2846e8e08 Kernel: Allow short writes to DoubleBuffer
DoubleBuffer is the internal buffer for things like TTY, FIFO, sockets,
etc. If you try to write more than the buffer can hold, it will now
do a short write instead of asserting.

This is likely to expose issues at higher levels, and we'll have to
deal with them as they are discovered.
2020-02-01 10:56:17 +01:00
..
ACPI Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
Arch/i386 Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
Devices BXVGA: Disallow resolutions higher than 4096x2160 2020-01-28 20:57:40 +01:00
FileSystem Kernel: Make Inode::lookup() return a RefPtr<Inode> 2020-02-01 10:56:17 +01:00
Heap Kernel: Never validate access to the kmalloc memory range 2020-01-27 12:43:21 +01:00
Net Kernel: LocalSocket should fail with EADDRINUSE for already-bound files 2020-01-30 22:15:45 +01:00
PCI Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
TTY Kernel: Tweak some include statements 2020-01-28 20:42:27 +01:00
VM Kernel: Add some sanity assertions in RangeAllocator::deallocate() 2020-01-30 21:51:27 +01:00
.bochsrc Meta: Make Serenity run on Bochs once again 2019-08-06 21:09:24 +02:00
.gitignore Meta: Removed all gitignore in the source tree only keeping the root one 2019-06-30 10:41:26 +02:00
Assertions.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
build-gpt-image-grub.sh Build: Fix more bugs in the POSIX sh-ification of scripts 2019-11-03 13:11:43 +01:00
build-image-grub.sh Build: use $SUDO_[UG]ID in build-image-* instead of relying on makeall 2020-01-15 21:52:09 +01:00
build-image-qemu.sh Build: use absolute path for /sbin/mke2fs 2020-01-22 22:04:29 +01:00
build-root-filesystem.sh Base: Let's make home directories 700 to keep things private :^) 2020-01-09 21:57:52 +01:00
CMOS.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CMOS.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Console.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Console.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
debug-kernel Debugging: Add kernel debugging support 2020-01-13 11:06:42 +01:00
DoubleBuffer.cpp Kernel: Allow short writes to DoubleBuffer 2020-02-01 10:56:17 +01:00
DoubleBuffer.h Kernel: Make DoubleBuffer use a KBuffer instead of kmalloc()ing 2020-01-20 16:08:49 +01:00
FB.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
grub.cfg Kernel: Move DMI decoder initialization method to init_stage2 2020-01-14 15:38:58 +01:00
grub_gpt.cfg Kernel: Move DMI decoder initialization method to init_stage2 2020-01-14 15:38:58 +01:00
init.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
InterruptHandler.cpp Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
InterruptHandler.h Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
IO.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRQHandler.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
IRQHandler.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
KBuffer.h Kernel: Allow naming KBuffers 2020-01-20 14:00:11 +01:00
KBufferBuilder.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KBufferBuilder.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KernelInfoPage.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KeyCode.h Kernel: Add key_code_count 2020-01-31 13:13:04 +01:00
KParams.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KParams.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
kprintf.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KResult.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
kstdio.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KSyms.cpp Kernel: Remove some unnecessary casts to uintptr_t 2020-01-20 13:13:03 +01:00
KSyms.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
linker.ld Kernel: Move kernel above the 3GB virtual address mark 2020-01-17 22:34:26 +01:00
Lock.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Lock.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
makeall.sh Build: Fix silly mistake in makeall.sh 2020-01-23 10:41:07 +01:00
Makefile Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
mkmap.sh Kernel: Allow modules to link against anything in kernel.map :^) 2019-11-28 21:30:20 +01:00
Module.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
MousePacket.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Multiboot.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Process.cpp Kernel: Disallow empty ranges in munmap/mprotect/madvise 2020-01-30 21:55:49 +01:00
Process.h Kernel: Address validation helpers should take size_t, not ssize_t 2020-01-30 21:51:27 +01:00
ProcessTracer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ProcessTracer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Profiling.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Profiling.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Random.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Random.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RTC.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RTC.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
run run: Bump default RAM size from 128 MB to 256 MB 2020-01-15 23:14:20 +01:00
Scheduler.cpp Kernel: read()/write() should respect timeouts when used on a sockets 2020-01-26 17:54:23 +01:00
Scheduler.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedBuffer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedBuffer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedInterruptHandler.cpp Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
SharedInterruptHandler.h Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
StdLib.cpp Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
StdLib.h Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
sync.sh Meta: Allow sync.sh to be run from any directory 2020-01-06 10:43:00 +01:00
Syscall.cpp Kernel: Clear ESI and EDI on syscall entry 2020-01-25 10:34:32 +01:00
Syscall.h Kernel: Remove SmapDisablers in sys$getsockname() and sys$getpeername() 2020-01-27 21:11:36 +01:00
TestModule.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Thread.cpp Kernel: Expose the signal that stopped a thread via sys$waitpid() 2020-01-27 20:47:10 +01:00
Thread.h Kernel: Expose the signal that stopped a thread via sys$waitpid() 2020-01-27 20:47:10 +01:00
TimerQueue.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
TimerQueue.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
UnixTypes.h Kernel+LibC+Userland: Switch to 64-bit time_t 2020-01-27 10:59:29 +01:00
WaitQueue.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
WaitQueue.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00