ladybird/Kernel
Andreas Kling 6a6eb8844a Kernel: Use Userspace<T> in sys$sigaction()
fuzz-syscalls found a bunch of unaligned accesses into struct sigaction
via this syscall. This patch fixes that issue by porting the syscall
to Userspace<T> which we should have done anyway. :^)

Fixes #5500.
2021-03-01 14:06:20 +01:00
..
ACPI Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
API Kernel: Take some baby steps towards x86_64 2021-02-25 16:27:12 +01:00
Arch Kernel: Fix KUBSAN warnings due to unaligned APIC variables 2021-02-28 15:27:53 +01:00
Devices Kernel: Fix scrolling up in VMware 2021-03-01 11:10:10 +01:00
FileSystem Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Heap Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Interrupts Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Modules
Net Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
PCI Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Storage Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Syscalls Kernel: Use Userspace<T> in sys$sigaction() 2021-03-01 14:06:20 +01:00
Tasks Kernel: Ignore unobserved BlockResult from Thread::Sleep 2021-02-15 08:28:57 +01:00
Time Kernel: Fix APIC timer calibration to be more accurate 2021-03-01 11:11:09 +01:00
TTY LibVT: Make VT::Line use a Vector for storage 2021-02-27 09:23:06 +01:00
VM Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
.gitignore
AddressSanitizer.cpp Kernel: Initial integration of Kernel Address Sanitizer (KASAN) 2021-02-15 11:41:53 +01:00
AddressSanitizer.h Kernel: Initial integration of Kernel Address Sanitizer (KASAN) 2021-02-15 11:41:53 +01:00
Assertions.h Everywhere: Remove unused RELEASE_ASSERT macro 2021-02-23 21:11:53 +01:00
CMakeLists.txt Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
CMOS.cpp
CMOS.h
CommandLine.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
CommandLine.h
Console.cpp Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions 2021-02-19 21:42:18 +01:00
Console.h
CoreDump.cpp Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
CoreDump.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Debug.h.in
DMI.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
DMI.h
DoubleBuffer.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
DoubleBuffer.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Forward.h
FutexQueue.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
FutexQueue.h
init.cpp Kernel: Add self-test boot mode, an alias for text mode 2021-02-28 18:19:37 +01:00
IO.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
KBuffer.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
KBufferBuilder.cpp Kernel: Assert if rounding-up-to-page-size would wrap around to 0 2021-02-14 10:01:50 +01:00
KBufferBuilder.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
kprintf.cpp Kernel: Don't take debug logging lock in sprintf() 2021-02-20 17:21:53 +01:00
KResult.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
kstdio.h Kernel: Remove kprintf() 2021-02-17 16:33:43 +01:00
KSyms.cpp Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
KSyms.h Kernel: Take some baby steps towards x86_64 2021-02-25 16:27:12 +01:00
linker.ld Kernel: Add .unmap_after_init section for code we don't need after init 2021-02-19 20:23:05 +01:00
Lock.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Lock.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
LockMode.h
mkmap.sh
Module.h
Multiboot.h
Panic.cpp Kernel: Add a PANIC() function 2021-02-14 09:36:58 +01:00
Panic.h Kernel: Add a PANIC() function 2021-02-14 09:36:58 +01:00
PerformanceEventBuffer.cpp Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
PerformanceEventBuffer.h
PhysicalAddress.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Process.cpp Kernel: Detach the traced process on process exit 2021-02-26 14:49:39 +01:00
Process.h Kernel: Use Userspace<T> in sys$sigaction() 2021-03-01 14:06:20 +01:00
ProcessGroup.cpp
ProcessGroup.h
Random.cpp Kernel: Fix APIC timer calibration to be more accurate 2021-03-01 11:11:09 +01:00
Random.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
RTC.cpp
RTC.h
Scheduler.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Scheduler.h
SpinLock.h Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
StdLib.cpp Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
StdLib.h Kernel: Mark more StdLib functions as [[nodiscard]] 2021-02-15 09:34:52 +01:00
Syscall.cpp Kernel: Detach any attached thread tracer on sys$abort() 2021-03-01 13:57:20 +01:00
Thread.cpp Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
Thread.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
ThreadBlockers.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
ThreadTracer.cpp
ThreadTracer.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TimerQueue.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TimerQueue.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
UBSanitizer.cpp Kernel: Improve KUBSAN logging for "type mismatch" errors 2021-02-24 14:27:06 +01:00
UBSanitizer.h
UnixTypes.h Kernel+LibC: Add the _SC_GETPW_R_SIZE_MAX sysconf enum 2021-02-15 17:32:56 +01:00
UnveilNode.h Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
UserOrKernelBuffer.cpp
UserOrKernelBuffer.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
VirtualAddress.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
WaitQueue.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
WaitQueue.h Kernel: Add WaitQueue::wait_forever and it use it for all infinite waits. 2021-02-15 08:28:57 +01:00