summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-08-05 19:28:13 +0200
committerAmlal <amlal@zka.com>2024-08-05 19:28:13 +0200
commita039ff365ab15efae18b58d738a7b51a9b5e6769 (patch)
treebf46b216e168806af0efe75fa9b83bcb82126d5f
parentf2d73fa28de2d84c5e0fb360f088409638ba258a (diff)
[META] bumping.
Signed-off-by: Amlal <amlal@zka.com>
-rw-r--r--Boot/amd64-efi.make2
-rw-r--r--Kernel/Sources/User.cxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/Boot/amd64-efi.make b/Boot/amd64-efi.make
index 87235cc6..a0bec415 100644
--- a/Boot/amd64-efi.make
+++ b/Boot/amd64-efi.make
@@ -45,7 +45,7 @@ REM=rm
REM_FLAG=-f
FLAG_ASM=-f win64
-FLAG_GNU=-fshort-wchar -D__EFI_x86_64__ -D__NEWOS_OTA__ -mno-red-zone -D__NEWOSKRNL__ -D__NEWOSLDR__ \
+FLAG_GNU=-fshort-wchar -D__EFI_x86_64__ -mno-red-zone -D__NEWOSKRNL__ -D__NEWOSLDR__ \
-DEFI_FUNCTION_WRAPPER -I./ -I../Vendor -I../Kernel -c -nostdlib -fno-rtti -fno-exceptions \
-std=c++20 -D__HAVE_MAHROUSS_APIS__ -D__NEWOS_AMD64__ -D__MAHROUSS__ -D__BOOTLOADER__ -I../
diff --git a/Kernel/Sources/User.cxx b/Kernel/Sources/User.cxx
index e0ccaf6b..2b22cf05 100644
--- a/Kernel/Sources/User.cxx
+++ b/Kernel/Sources/User.cxx
@@ -4,8 +4,8 @@
* Kernel
* Copyright ZKA Technologies, all rights reserved.
*
- * File: User.cpp
- * Purpose: Permission selectors.
+ * File: User.cxx
+ * Purpose: User concept and management.
*
* ========================================================
*/
@@ -25,7 +25,7 @@ namespace Kernel
{
/// \brief Constructs a token by hashing the password.
/// \param password password to hash.
- /// \return the hashed password
+ /// \return the hashed password
const Int32 cred_construct_token(Char* password, User* user)
{
if (!password || !user)
@@ -34,9 +34,9 @@ namespace Kernel
for (Size i_pass = 0; i_pass < rt_string_len(password); ++i_pass)
{
Char cur_chr = password[i_pass];
- password[i_pass] = cur_chr + (user->IsStdUser() ? 0xCF : 0xEF);
+ password[i_pass] = cur_chr + (user->IsStdUser() ? 0xCF : 0xEF);
}
-
+
return 0;
}
@@ -154,7 +154,7 @@ namespace Kernel
mm_delete_ke_heap(token);
return false;
}
-
+
kcout << "newoskrnl: Correct credentials, moving on.\r";
}