Explorar o código

Kernel: Move Credentials.{cpp,h} to the Security subdirectory

Liav A %!s(int64=2) %!d(string=hai) anos
pai
achega
ee0ccdaebe

+ 1 - 1
Kernel/CMakeLists.txt

@@ -43,7 +43,6 @@ set(KERNEL_SOURCES
     CommandLine.cpp
     CommandLine.cpp
     Coredump.cpp
     Coredump.cpp
     CrashHandler.cpp
     CrashHandler.cpp
-    Credentials.cpp
     Devices/AsyncDeviceRequest.cpp
     Devices/AsyncDeviceRequest.cpp
     Devices/Audio/AC97.cpp
     Devices/Audio/AC97.cpp
     Devices/Audio/Channel.cpp
     Devices/Audio/Channel.cpp
@@ -263,6 +262,7 @@ set(KERNEL_SOURCES
     StdLib.cpp
     StdLib.cpp
     Syscall.cpp
     Syscall.cpp
     Security/AddressSanitizer.cpp
     Security/AddressSanitizer.cpp
+    Security/Credentials.cpp
     Security/Random.cpp
     Security/Random.cpp
     Security/Jail.cpp
     Security/Jail.cpp
     Security/UBSanitizer.cpp
     Security/UBSanitizer.cpp

+ 1 - 1
Kernel/Credentials.cpp → Kernel/Security/Credentials.cpp

@@ -6,7 +6,7 @@
 
 
 #include <AK/NonnullRefPtr.h>
 #include <AK/NonnullRefPtr.h>
 #include <AK/RefPtr.h>
 #include <AK/RefPtr.h>
-#include <Kernel/Credentials.h>
+#include <Kernel/Security/Credentials.h>
 
 
 namespace Kernel {
 namespace Kernel {
 
 

+ 0 - 0
Kernel/Credentials.h → Kernel/Security/Credentials.h


+ 1 - 1
Kernel/Tasks/Process.cpp

@@ -11,10 +11,10 @@
 #include <AK/Types.h>
 #include <AK/Types.h>
 #include <Kernel/API/Syscall.h>
 #include <Kernel/API/Syscall.h>
 #include <Kernel/Coredump.h>
 #include <Kernel/Coredump.h>
-#include <Kernel/Credentials.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Devices/DeviceManagement.h>
 #include <Kernel/Devices/DeviceManagement.h>
 #include <Kernel/InterruptDisabler.h>
 #include <Kernel/InterruptDisabler.h>
+#include <Kernel/Security/Credentials.h>
 #ifdef ENABLE_KERNEL_COVERAGE_COLLECTION
 #ifdef ENABLE_KERNEL_COVERAGE_COLLECTION
 #    include <Kernel/Devices/KCOVDevice.h>
 #    include <Kernel/Devices/KCOVDevice.h>
 #endif
 #endif

+ 1 - 1
Kernel/Tasks/Process.h

@@ -18,7 +18,6 @@
 #include <Kernel/API/POSIX/sys/resource.h>
 #include <Kernel/API/POSIX/sys/resource.h>
 #include <Kernel/API/Syscall.h>
 #include <Kernel/API/Syscall.h>
 #include <Kernel/Assertions.h>
 #include <Kernel/Assertions.h>
-#include <Kernel/Credentials.h>
 #include <Kernel/FileSystem/InodeMetadata.h>
 #include <Kernel/FileSystem/InodeMetadata.h>
 #include <Kernel/FileSystem/OpenFileDescription.h>
 #include <Kernel/FileSystem/OpenFileDescription.h>
 #include <Kernel/FileSystem/UnveilNode.h>
 #include <Kernel/FileSystem/UnveilNode.h>
@@ -29,6 +28,7 @@
 #include <Kernel/Locking/MutexProtected.h>
 #include <Kernel/Locking/MutexProtected.h>
 #include <Kernel/Memory/AddressSpace.h>
 #include <Kernel/Memory/AddressSpace.h>
 #include <Kernel/PerformanceEventBuffer.h>
 #include <Kernel/PerformanceEventBuffer.h>
+#include <Kernel/Security/Credentials.h>
 #include <Kernel/Security/Jail.h>
 #include <Kernel/Security/Jail.h>
 #include <Kernel/StdLib.h>
 #include <Kernel/StdLib.h>
 #include <Kernel/Tasks/AtomicEdgeAction.h>
 #include <Kernel/Tasks/AtomicEdgeAction.h>