mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Pong: Remove wpath and cpath pledges
With the move to LibConfig, these are no longer needed.
This commit is contained in:
parent
efe0a3d415
commit
7a0fbb94b6
1 changed files with 2 additions and 2 deletions
|
@ -15,14 +15,14 @@
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto app = GUI::Application::construct(argc, argv);
|
auto app = GUI::Application::construct(argc, argv);
|
||||||
|
|
||||||
if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) {
|
if (pledge("stdio rpath recvfd sendfd", nullptr) < 0) {
|
||||||
perror("pledge");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue