summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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-22Merge pull request #47 from 0xf00sec/0xf00sec-patch-6-1Amlal 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-18feat: add `note` regarding ARM support for BootZ's BootThread.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-15Merge pull request #41 from nekernel-org/devAmlal El Mahrouss
NeKernel v0.0.3e1
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-14fix: Fix CB header regarding NeKernel.org's `/fw` repo.Amlal El Mahrouss
why? - In order to prevent future issues. next: - More ARM64 commits are coming. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-12fix: Fixing CODEOWNERS.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-12feat: Add code owner for `libSystem`Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-12feat: Use `.dll` extension for `libSystem` instead of `.sys`Amlal El Mahrouss
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-11fix: warning regarding `kBootNetVersion`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: tooling/hefs.h: Fix enum value for `kHeFSEncodingFlagsUTF8`Amlal El Mahrouss
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-10fix: better allocation system in BootZ (aarch, amd64)Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-10feat: boot: Better checks in BootThread, and cleanup BootEFI's init on AArch64.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-08fix: Fix argument registers usage inside jump proc.Amlal El Mahrouss
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: boot/arm64: fix `rt_jump_to_address`Amlal El Mahrouss
why? - It wasn't a conform procedure here, made it ABI compliant on clang. 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-05feat: Update thread name for `ne_kernel`'s aarch64 version in BootZ.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
2025-06-05fix: aarch64: Don't exit Boot Services, when the kernel already does it.Amlal El Mahrouss
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>