AK: Ban JsonValue from the kernel and remove ifdef guards

JsonValue can store JsonObject which uses DS for keys, so it is not safe
to use it in the kernel even with the double/String guards.
This commit is contained in:
Dan Klishch 2023-11-13 22:10:20 -05:00 committed by Andreas Kling
commit c0ffff7e88
Notes: sideshowbarker 2024-07-16 22:11:09 +09:00
2 changed files with 9 additions and 47 deletions

View file

@ -6,7 +6,6 @@
#include <AK/JsonArraySerializer.h>
#include <AK/JsonObjectSerializer.h>
#include <AK/JsonValue.h>
#include <Kernel/Devices/TTY/TTY.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/ProcFS/Inode.h>