serenity/Kernel
Calvin Buckley 7e4e092653 Kernel: Add a Linux-style getrandom syscall
The way it gets the entropy and blasts it to the buffer is pretty
ugly IMHO, but it does work for now. (It should be replaced, by
not truncating a u32.)

It implements an (unused for now) flags argument, like Linux but
instead of OpenBSD's. This is in case we want to distinguish
between entropy sources or any other reason and have to implement
a new syscall later. Of course, learn from Linux's struggles with
entropy sourcing too.
2019-10-13 18:03:21 +02:00
..
Arch/i386 Kernel: Fix accidental restore of bogus FPU state after fork 2019-10-13 14:39:04 +02:00
Boot Boot: Bump our requested resolution to 1280x1024 2019-09-21 16:31:52 +02:00
Devices PartitionTable: Removing unnecessary declarations from GPT & MBR classes 2019-10-07 11:32:42 +02:00
FileSystem Kernel: Made DiskCache entries a KBuffer 2019-10-08 11:10:30 +02:00
Heap Kernel: Make SlabAllocator fall back to kmalloc() when slabs run out 2019-10-10 11:58:15 +02:00
Net Kernel: Delay moving accepted sockets to SetupState::Completed a bit 2019-10-08 21:44:50 +02:00
TTY Kernel: Move kmalloc() into a Kernel/Heap/ directory 2019-09-16 09:01:44 +02:00
VM Kernel+SystemMonitor: Add fault counters 2019-10-02 14:13:49 +02: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
build-gpt-image-grub.sh PartitionTable: Initial GPT Support, Adding Block Limit 2019-10-07 10:11:39 +02:00
build-image-grub.sh
build-image-qemu.sh Build: Fix incorrect user and group settings for disk image (#280) 2019-07-03 16:57:37 +02:00
build-root-filesystem.sh HexEditor: Initial application release 2019-10-13 08:45:49 +02:00
CMOS.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
CMOS.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Console.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Console.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
DoubleBuffer.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
DoubleBuffer.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
FB.h Kernel: Add framebuffer ioctls; wrap raw ioctls with a C API 2019-08-18 07:40:02 +02:00
grub.cfg Kernel: Add serial_debug cmdline parameter 2019-08-11 08:22:42 +02:00
grub_gpt.cfg PartitionTable: Initial GPT Support, Adding Block Limit 2019-10-07 10:11:39 +02:00
init.cpp PartitionTable: Initial GPT Support, Adding Block Limit 2019-10-07 10:11:39 +02:00
install.sh
IO.h Kernel: First cut of a sb16 driver 2019-07-13 08:00:24 +02:00
IRQHandler.cpp Kernel: Move PIC.cpp into Arch/i386/ 2019-07-09 15:04:43 +02:00
IRQHandler.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
KBuffer.h Kernel: Make Region single-owner instead of ref-counted 2019-09-27 14:25:42 +02:00
KBufferBuilder.cpp Kernel: Add KBufferBuilder, similar to StringBuilder but for KBuffer 2019-08-06 20:04:12 +02:00
KBufferBuilder.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
KeyCode.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
KParams.cpp AK: Make HashMap::get(Key) return an Optional<Value>. 2019-07-24 10:25:43 +02:00
KParams.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
kprintf.cpp Kernel: Write logs into dmesg from the start of the boot process 2019-09-09 08:14:00 +02:00
KResult.h Kernel: Align the KResult value storage appropriately. 2019-08-02 19:22:48 +02:00
kstdio.h Kernel: Add serial_debug cmdline parameter 2019-08-11 08:22:42 +02:00
KSyms.cpp ByteBuffer: Remove pointer() in favor of data() 2019-09-30 08:57:01 +02:00
KSyms.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
linker.ld
Lock.cpp AK: Add Atomic.h 2019-10-12 19:30:59 +02:00
Lock.h AK: Add Atomic.h 2019-10-12 19:30:59 +02:00
makeall.sh HexEditor: Initial application release 2019-10-13 08:45:49 +02:00
Makefile PartitionTable: Initial GPT Support, Adding Block Limit 2019-10-07 10:11:39 +02:00
mkmap.sh
MousePacket.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Multiboot.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
PCI.cpp Kernel: Hide PCI logs behind a debug flag like other logs 2019-08-14 06:28:53 +02:00
PCI.h Kernel: Add more PCI configuration reading functions 2019-08-14 06:28:53 +02:00
Process.cpp Kernel: Add a Linux-style getrandom syscall 2019-10-13 18:03:21 +02:00
Process.h Kernel: Add a Linux-style getrandom syscall 2019-10-13 18:03:21 +02:00
ProcessTracer.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
ProcessTracer.h Kernel: Move File.{cpp,h} into FileSystem/ 2019-07-09 15:04:45 +02:00
RTC.cpp Kernel: Fix BIOS date/time on hardware 2019-09-28 13:59:49 +02:00
RTC.h
run Runner: Enable QEMU's KVM mode by default 2019-10-13 15:07:23 +02:00
Scheduler.cpp Kernel: Add exception_code to RegisterDump. 2019-10-07 16:39:47 +02:00
Scheduler.h Kernel: Stop idling after handling an IRQ 2019-09-14 20:21:10 +02:00
SharedBuffer.cpp Kernel: Rename "vmo" to "vmobject" everywhere 2019-09-04 11:27:14 +02:00
SharedBuffer.h Kernel: Rename "vmo" to "vmobject" everywhere 2019-09-04 11:27:14 +02:00
StdLib.cpp Kernel: Move kmalloc() into a Kernel/Heap/ directory 2019-09-16 09:01:44 +02:00
StdLib.h Kernel: Add strncmp() 2019-08-11 16:30:43 +02:00
sync.sh
Syscall.cpp Kernel: Add a Linux-style getrandom syscall 2019-10-13 18:03:21 +02:00
Syscall.h Kernel: Add a Linux-style getrandom syscall 2019-10-13 18:03:21 +02:00
Thread.cpp Kernel: Don't leak an FPU state buffer for every spawned thread 2019-10-13 14:36:55 +02:00
Thread.h Kernel: Don't leak an FPU state buffer for every spawned thread 2019-10-13 14:36:55 +02:00
UnixTypes.h Kernel: Add SIOCGIFHWADDR ioctl to get the MAC address of an adapter 2019-10-02 18:20:11 +02:00