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

Kernel: Migrate hostname locking to ProtectedValue

This commit is contained in:
Jean-Baptiste Boric 2021-07-18 15:00:48 +02:00 committed by Andreas Kling
parent 9517100672
commit 626b99ce1c
4 changed files with 32 additions and 28 deletions

View file

@ -22,6 +22,7 @@
#include <Kernel/Forward.h>
#include <Kernel/FutexQueue.h>
#include <Kernel/Locking/Mutex.h>
#include <Kernel/Locking/ProtectedValue.h>
#include <Kernel/Memory/AddressSpace.h>
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/ProcessGroup.h>
@ -33,6 +34,7 @@
namespace Kernel {
ProtectedValue<String>& hostname();
Time kgettimeofday();
#define ENUMERATE_PLEDGE_PROMISES \