diff --git a/Userland/id.cpp b/Userland/id.cpp index 48048a88cb..2dc4bab3f1 100644 --- a/Userland/id.cpp +++ b/Userland/id.cpp @@ -14,6 +14,10 @@ static bool flag_print_gid_all = false; int main(int argc, char** argv) { + if (pledge("stdio rpath", nullptr) < 0) { + perror("pledge"); + return 1; + } static const char* valid_option_characters = "ugGn"; int opt; while ((opt = getopt(argc, argv, valid_option_characters)) != -1) {