summaryrefslogtreecommitdiff
path: root/Userland/Applications/Spreadsheet/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Spreadsheet/main.cpp')
-rw-r--r--Userland/Applications/Spreadsheet/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Userland/Applications/Spreadsheet/main.cpp b/Userland/Applications/Spreadsheet/main.cpp
index 0ed5a66f22..cc2a54c694 100644
--- a/Userland/Applications/Spreadsheet/main.cpp
+++ b/Userland/Applications/Spreadsheet/main.cpp
@@ -22,7 +22,7 @@
int main(int argc, char* argv[])
{
- if (pledge("stdio recvfd sendfd rpath fattr unix cpath wpath thread", nullptr) < 0) {
+ if (pledge("stdio recvfd sendfd rpath fattr unix cpath wpath thread prot_exec", nullptr) < 0) {
perror("pledge");
return 1;
}
@@ -69,6 +69,11 @@ int main(int argc, char* argv[])
return 1;
}
+ if (unveil("/usr/lib/libunicodedata.so.serenity", "r") < 0) {
+ perror("unveil");
+ return 1;
+ }
+
if (unveil(nullptr, nullptr) < 0) {
perror("unveil");
return 1;