From bcf4ec9c6152094a0a2abee37f4c6c92062998ba Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 20 Jan 2022 12:27:56 -0500 Subject: Userland: Add promises to programs that will read /etc/timezone This will require unveiling /etc/timezone itself for reading, as well as the rpath pledge promise. --- Userland/Utilities/date.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Utilities/date.cpp') diff --git a/Userland/Utilities/date.cpp b/Userland/Utilities/date.cpp index 1298a9ed76..12d6bae420 100644 --- a/Userland/Utilities/date.cpp +++ b/Userland/Utilities/date.cpp @@ -13,7 +13,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio settime", nullptr)); + TRY(Core::System::pledge("stdio settime rpath", nullptr)); bool print_unix_date = false; bool print_iso_8601 = false; -- cgit v1.2.3