From 67e396d931d84d58204ac724a845d064249d7caf Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 26 Oct 2022 13:25:13 -0400 Subject: [PATCH] GMLPlayground: Replace /proc/all unveil with /sys/kernel/processes This was missed before commit dc5b28e26cbbce01af2ce9cc919c0a31f46d565e. Fixes #15809. --- Userland/DevTools/GMLPlayground/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/DevTools/GMLPlayground/main.cpp b/Userland/DevTools/GMLPlayground/main.cpp index 5716fb9e652..848d78b589e 100644 --- a/Userland/DevTools/GMLPlayground/main.cpp +++ b/Userland/DevTools/GMLPlayground/main.cpp @@ -67,7 +67,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); - TRY(Core::System::unveil("/proc/all", "r")); + TRY(Core::System::unveil("/sys/kernel/processes", "r")); TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw")); TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));