From e15065fe45f8004adcc8b69bbbe680ced0d530a1 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 26 Jun 2024 21:34:40 +0200 Subject: Kernel: Move all syscalls into one file --- kernel/syscalls/randomfill.c | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 kernel/syscalls/randomfill.c (limited to 'kernel/syscalls/randomfill.c') diff --git a/kernel/syscalls/randomfill.c b/kernel/syscalls/randomfill.c deleted file mode 100644 index 3808009..0000000 --- a/kernel/syscalls/randomfill.c +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include - -// This syscall will never fail. At worst a page fault will occur but if -// the syscall returns the buffer will have been filled with random -// data. -void syscall_randomfill(void *buffer, u32 size) { - get_random(buffer, size); -} -- cgit v1.2.3