diff --git a/Applications/SystemMonitor/main.cpp b/Applications/SystemMonitor/main.cpp index ee863d9793..8ea6492273 100644 --- a/Applications/SystemMonitor/main.cpp +++ b/Applications/SystemMonitor/main.cpp @@ -49,8 +49,18 @@ static NonnullRefPtr build_graphs_tab(); int main(int argc, char** argv) { + if (pledge("stdio shared_buffer rpath unix cpath fattr", nullptr) < 0) { + perror("pledge"); + return 1; + } + GApplication app(argc, argv); + if (pledge("stdio shared_buffer rpath unix", nullptr) < 0) { + perror("pledge"); + return 1; + } + auto keeper = GWidget::construct(); keeper->set_layout(make(Orientation::Vertical)); keeper->set_fill_with_background_color(true);