mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
Services: Use new global variables at /sys/kernel/ directory
This commit is contained in:
parent
b579d9518c
commit
35c98a031a
11 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
auto server = TRY(LookupServer::LookupServer::try_create());
|
||||
|
||||
TRY(Core::System::pledge("stdio accept inet rpath"));
|
||||
TRY(Core::System::unveil("/proc/net/adapters", "r"));
|
||||
TRY(Core::System::unveil("/sys/kernel/net/adapters", "r"));
|
||||
TRY(Core::System::unveil("/etc/hosts", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
return event_loop.exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue