summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel
AgeCommit message (Collapse)Author
2025-06-22Merge pull request #49 from 0xf00sec/0xf00sec-patch-6.7Amlal El Mahrouss
NeFS+FileSystemParser.cc
2025-06-22Merge pull request #46 from 0xf00sec/0xf00sec-patch-6.2Amlal El Mahrouss
rt_copy_memory_safe: HeFS+FileSystemParser.cc
2025-06-22Merge pull request #48 from 0xf00sec/0xf00sec-patch-6Amlal El Mahrouss
rt_copy_memory to rt_copy_memory_safe
2025-06-22IPCMsg.cc0xf00sec
rt_copy_memory_safe
2025-06-22NeFS+FileSystemParser.cc0xf00sec
rt_copy_memory calls were replaced with rt_copy_memory_safe.
2025-06-22IndexableProperty.cc0xf00sec
The argument order was corrected. #include <NeKit/Utils.h> was added, and rt_copy_memory_safe is added
2025-06-22UserMgr.cc0xf00sec
rt_copy_memory calls were replaced with rt_copy_memory_safe, and #include <NeKit/Utils.h>
2025-06-22UserProcessScheduler.cc0xf00sec
rt_copy_memory calls were replaced with rt_copy_memory_safe. #include <NeKit/Utils.h> and #include <HALKit/AMD64/Processor.h>
2025-06-22rt_copy_memory_safe: PEFCodeMgr.cc0xf00sec
2025-06-22rt_copy_memory_safe: HeFS+FileSystemParser.cc0xf00sec
2025-06-22rt_copy_memory to rt_copy_memory_safe0xf00sec
2025-06-22rt_copy_memory to rt_copy_memory_safe0xf00sec
2025-06-22fix: HAL: syscall interrupt must be ring-3 only.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-22feat: kernel: HAL: reworked `kerncall` system.Amlal El Mahrouss
how: - By taking additional arguments according to DDKKit. - Adding a `HAL_KERNEL_DISPATCH_ENTRY` and `rt_kerncall_proc` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18feat: level based virtual memory mapping for NeKernel's paging system.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18feat: Implemented `HalPagingMgr` for AArch64.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18PEF format update `5.0` and codebase refactors.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18meta: Ran `format.sh`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-18feat: Fix `ProcessLevelRing` enum value `kRingCount`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-17kernel: fix: Fix duplicates on `IPAddr.cc` and `AsciiUtils.cc`.Amlal El Mahrouss
fix: Fix dead code in `Bool USER_PROCESS::SpawnDylib()` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-15fix: fix invalid bounds check in `DmaPool.h`'s `rtl_dma_alloc`v0.0.3e1Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org> Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-15fix: Include `Processor.h` according to HAL.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-15feat: DmaPool, and Scheduler Interrupts for ARM.Amlal El Mahrouss
I extended DmaKit to support `ARM` fully, taking ISA internals, such as alignment into play. Also implemented the scheduler's interrupts for `ARM` too. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-12feat: libSystem, kernel: finalizing the hash and routing system of ↵Amlal El Mahrouss
libSystem's handlers. feat: Rework TTY, and CD-ROM API too. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11feat: `___chkstk_ms` has been implemented for AMD64 HAL.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11refactor!: Refactor the `ONet` protocol to include a version field.Amlal El Mahrouss
and a updated magic string. feat: Add validation for `Version` field inside `net.efi`. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11fix: HeFS: Fix compiler warning regarding `kHeFSEncodingFlagsUTF8`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-11refactor: HeFS: Updated and fixed HeFS's enums.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10security: fix: memory-leak on `ups-alloc-tree`, and mismatch inAmlal El Mahrouss
traversal. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10fix: security: UAF on the `ups-allocation-tree`Amlal El Mahrouss
credits: - @0xf00sec who reported the issue. - @amlel-el-mahrouss who implemented the patch. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10fix: UserProcessScheduler security patches.Amlal El Mahrouss
These patches are regarding: - Thread safety (exit code global has been removed.) - Code quality, in `SpawnDylib` - In memory allocation checks too. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-08feat: arm64: add .ldr stub for ARM64 VMKernel.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-08fix: cf/utils: Fix MSDOS header jump on anything else than AMD64.Amlal El Mahrouss
why? - This quirk of adding `+ 1` at the end is something related to the x64 ISA only. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-07fix/feat: NetworkKit: Better IPAddr.cc implementation for both IP6 and IP4.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-06feat: The `APM` HW protocol implementation got improvements (ARM64)Amlal El Mahrouss
fix: BootNet: be more descriptive when trying to flash from network, and it fails. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-06feat: kernel: Start enforcing `User`s validation when issuing OS calls.Amlal El Mahrouss
refactor: PE: remove BaseOfData, as we are only relying on PE32+ now. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-04Merge pull request #38 from 0xf00sec/0xf00sec-patch-5Amlal El Mahrouss
# Name: Sec: FS/Kernel # Brief: Filesystem & Kernel Offset/Buffer.
2025-06-04Fixx0xf00sec
2025-06-04Fix0xf00sec
2025-06-04Sec: FS/Kernel0xf00sec
filesystem & Kernel Offset/Buffer.
2025-06-04meta: Ran `./format.sh`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-04fix: Fix #37 compilation errors and warnings.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-04F* Macros0xf00sec
2025-06-04Fix mParser0xf00sec
2025-06-03feat: TLS: Improved its implementation, and add a user field for additional ↵Amlal El Mahrouss
checks. refactor: Reworked `open_msg`'s messaging system. refactor: Rename `Utils.cc` to `AsciiUtils.cc` Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-03feat: Last changes before `0.0.3`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-02fix: hal/aarch64: aarch64 patches for ne_kernel.Amlal El Mahrouss
2025-06-02Revise rt_* mem APIs0xf00sec
2025-06-01Revise rt_* mem APIs0xf00sec
2025-06-01Heap Overflow in `rt_copy_memory`0xf00sec
To avoid directly affecting the API that relies on null-termination, this patch applies a minimal fix by removing the overflow without adding bounds checks or changing the function signature.