1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

Services: Use new global variables at /sys/kernel/ directory

This commit is contained in:
Liav A 2022-10-14 21:56:07 +03:00 committed by Andrew Kaster
parent b579d9518c
commit 35c98a031a
11 changed files with 13 additions and 13 deletions

View file

@ -21,7 +21,7 @@ ErrorOr<int> serenity_main(Main::Arguments args)
TRY(Core::System::pledge("stdio unix inet cpath rpath"));
Core::EventLoop event_loop;
TRY(Core::System::unveil("/proc/net/", "r"));
TRY(Core::System::unveil("/sys/kernel/net/", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
auto client = TRY(DHCPv4Client::try_create(interfaces));