summaryrefslogtreecommitdiffhomepage
path: root/Kernel
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 /Kernel
parentf2d73fa28de2d84c5e0fb360f088409638ba258a (diff)
[META] bumping.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Sources/User.cxx12
1 files changed, 6 insertions, 6 deletions
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";
}