diff --git a/Kernel/Syscalls/anon_create.cpp b/Kernel/Syscalls/anon_create.cpp index bc2fbd33c1..63192c70a1 100644 --- a/Kernel/Syscalls/anon_create.cpp +++ b/Kernel/Syscalls/anon_create.cpp @@ -33,6 +33,8 @@ namespace Kernel { int Process::sys$anon_create(size_t size, int options) { + REQUIRE_PROMISE(stdio); + if (size % PAGE_SIZE) return -EINVAL;