mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 22:56:04 +00:00
Minesweeper: Remove wpath and cpath pledges
With the move to LibConfig, these are no longer needed.
This commit is contained in:
parent
834be1a895
commit
9d428a65d1
Notes:
sideshowbarker
2024-07-18 05:10:24 +09:00
Author: https://github.com/Lubrsi
Commit: 9d428a65d1
Pull-request: https://github.com/SerenityOS/serenity/pull/9643
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
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");
|
||||
return 1;
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ int main(int argc, char** argv)
|
|||
|
||||
Config::pledge_domains("Minesweeper");
|
||||
|
||||
if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) {
|
||||
if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue