mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
Run: Pledge "thread"
This is needed for the thumbnail generation thread used by FilePicker. Fixes #5015.
This commit is contained in:
parent
54f421e170
commit
5d9c36d016
Notes:
sideshowbarker
2024-07-18 22:56:06 +09:00
Author: https://github.com/awesomekling
Commit: 5d9c36d016
1 changed files with 2 additions and 2 deletions
|
@ -35,14 +35,14 @@
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if (pledge("stdio recvfd sendfd accept cpath rpath unix fattr proc exec", nullptr) < 0) {
|
||||
if (pledge("stdio recvfd sendfd thread accept cpath rpath unix fattr proc exec", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
auto app = GUI::Application::construct(argc, argv);
|
||||
|
||||
if (pledge("stdio recvfd sendfd accept rpath unix proc exec", nullptr) < 0) {
|
||||
if (pledge("stdio recvfd sendfd thread accept rpath unix proc exec", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue