mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
2048: Remove wpath and cpath pledges
With the move to LibConfig, these are no longer needed.
This commit is contained in:
parent
c0c33a4604
commit
041007e9f6
Notes:
sideshowbarker
2024-07-18 05:09:55 +09:00
Author: https://github.com/Lubrsi
Commit: 041007e9f6
Pull-request: https://github.com/SerenityOS/serenity/pull/9643
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
if (pledge("stdio rpath wpath cpath recvfd sendfd unix", nullptr) < 0) {
|
if (pledge("stdio rpath recvfd sendfd unix", nullptr) < 0) {
|
||||||
perror("pledge");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
Config::pledge_domains("2048");
|
Config::pledge_domains("2048");
|
||||||
|
|
||||||
if (pledge("stdio rpath recvfd sendfd wpath cpath", nullptr) < 0) {
|
if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
|
||||||
perror("pledge");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue