summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2023-02-24 19:57:27 +0200
committerJelle Raaijmakers <jelle@gmta.nl>2023-06-04 21:32:34 +0200
commitee0ccdaebe617b7ff1536498dcf27ec3c17f60e1 (patch)
tree3fb6a88439429eead16d45d1e594fd84e0784bdb
parentaaa1de7878b19c8eb4b5d1db11eb5596e03d84d9 (diff)
downloadserenity-ee0ccdaebe617b7ff1536498dcf27ec3c17f60e1.zip
Kernel: Move Credentials.{cpp,h} to the Security subdirectory
-rw-r--r--Kernel/CMakeLists.txt2
-rw-r--r--Kernel/Security/Credentials.cpp (renamed from Kernel/Credentials.cpp)2
-rw-r--r--Kernel/Security/Credentials.h (renamed from Kernel/Credentials.h)0
-rw-r--r--Kernel/Tasks/Process.cpp2
-rw-r--r--Kernel/Tasks/Process.h2
5 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt
index d99a55ec6e..55449dc70c 100644
--- a/Kernel/CMakeLists.txt
+++ b/Kernel/CMakeLists.txt
@@ -43,7 +43,6 @@ set(KERNEL_SOURCES
CommandLine.cpp
Coredump.cpp
CrashHandler.cpp
- Credentials.cpp
Devices/AsyncDeviceRequest.cpp
Devices/Audio/AC97.cpp
Devices/Audio/Channel.cpp
@@ -263,6 +262,7 @@ set(KERNEL_SOURCES
StdLib.cpp
Syscall.cpp
Security/AddressSanitizer.cpp
+ Security/Credentials.cpp
Security/Random.cpp
Security/Jail.cpp
Security/UBSanitizer.cpp
diff --git a/Kernel/Credentials.cpp b/Kernel/Security/Credentials.cpp
index bea6dd2570..fa649909df 100644
--- a/Kernel/Credentials.cpp
+++ b/Kernel/Security/Credentials.cpp
@@ -6,7 +6,7 @@
#include <AK/NonnullRefPtr.h>
#include <AK/RefPtr.h>
-#include <Kernel/Credentials.h>
+#include <Kernel/Security/Credentials.h>
namespace Kernel {
diff --git a/Kernel/Credentials.h b/Kernel/Security/Credentials.h
index cc6b88052d..cc6b88052d 100644
--- a/Kernel/Credentials.h
+++ b/Kernel/Security/Credentials.h
diff --git a/Kernel/Tasks/Process.cpp b/Kernel/Tasks/Process.cpp
index 7f7ed579b7..d5af388705 100644
--- a/Kernel/Tasks/Process.cpp
+++ b/Kernel/Tasks/Process.cpp
@@ -11,10 +11,10 @@
#include <AK/Types.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/Coredump.h>
-#include <Kernel/Credentials.h>
#include <Kernel/Debug.h>
#include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/InterruptDisabler.h>
+#include <Kernel/Security/Credentials.h>
#ifdef ENABLE_KERNEL_COVERAGE_COLLECTION
# include <Kernel/Devices/KCOVDevice.h>
#endif
diff --git a/Kernel/Tasks/Process.h b/Kernel/Tasks/Process.h
index 4968f2043b..08e9a67c29 100644
--- a/Kernel/Tasks/Process.h
+++ b/Kernel/Tasks/Process.h
@@ -18,7 +18,6 @@
#include <Kernel/API/POSIX/sys/resource.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/Assertions.h>
-#include <Kernel/Credentials.h>
#include <Kernel/FileSystem/InodeMetadata.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/FileSystem/UnveilNode.h>
@@ -29,6 +28,7 @@
#include <Kernel/Locking/MutexProtected.h>
#include <Kernel/Memory/AddressSpace.h>
#include <Kernel/PerformanceEventBuffer.h>
+#include <Kernel/Security/Credentials.h>
#include <Kernel/Security/Jail.h>
#include <Kernel/StdLib.h>
#include <Kernel/Tasks/AtomicEdgeAction.h>