Commit Graph

  • e3f2912d59 Add stub F_DUPFD_CLOEXEC and add more cases in linux_fcntl EnderIce2 2024-04-01 01:12:37 +03:00
  • a09dfe274a Fix file creation and append functionality EnderIce2 2024-04-01 00:58:09 +03:00
  • e42759147e Add linux_umask syscall implementation EnderIce2 2024-04-01 00:47:51 +03:00
  • 473821bfa8 Implement process file mode creation mask EnderIce2 2024-04-01 00:47:33 +03:00
  • a3b3ab76a7 Fix stat in linux EnderIce2 2024-03-31 21:42:10 +03:00
  • 2d94246f55 Update fdt stat to include file timestamps EnderIce2 2024-03-31 21:41:07 +03:00
  • eb3c6f42d6 Fix data type definitions EnderIce2 2024-03-31 21:03:44 +03:00
  • fcccb5b44f Fix linux_newfstatat EnderIce2 2024-03-31 19:37:56 +03:00
  • f5a6a39159 Fix linux_newfstatat function to correctly handle absolute paths EnderIce2 2024-03-31 17:14:58 +03:00
  • f0896a0b75 Fix memory leak in linux_openat function EnderIce2 2024-03-31 17:13:32 +03:00
  • 08c4bcc4a3 Fix RawKeyQueue empty check EnderIce2 2024-03-31 02:26:07 +02:00
  • 5a00e91011 Fix signals from exception handler EnderIce2 2024-03-28 03:15:05 +02:00
  • 8be2e10a8c Allow kernel shell to execute binaries EnderIce2 2024-03-28 03:10:58 +02:00
  • ac2147b69b Add stub for F_GETFL and F_SETFL EnderIce2 2024-03-28 01:42:21 +02:00
  • ac658beb5b Fix file mode in statbuf structure EnderIce2 2024-03-28 01:31:47 +02:00
  • 6d2c04d0c8 Update error message EnderIce2 2024-03-28 01:16:19 +02:00
  • 147027b613 Add linux_getrusage and linux_setitimer syscall implementation EnderIce2 2024-03-28 00:16:32 +02:00
  • eb3020bde7 Fix key event handling EnderIce2 2024-03-27 22:29:19 +02:00
  • 8386e44fda Fix page table update bug in scheduler EnderIce2 2024-03-27 20:35:25 +02:00
  • 603a21c3d2 Fix release compilation EnderIce2 2024-03-27 19:58:10 +02:00
  • 3dc1981820 Implement VirtualAllocation class EnderIce2 2024-03-27 19:51:15 +02:00
  • d7cc1f5c47 Add ptr_t class to types.h EnderIce2 2024-03-27 18:21:17 +02:00
  • b8355ec455 Update Xalloc configuration EnderIce2 2024-03-27 16:43:40 +02:00
  • 3d1ecc3db0 Rework signal handling code EnderIce2 2024-03-25 23:21:27 +02:00
  • 3b1bd58a36 Add RLIMIT_FSIZE stub EnderIce2 2024-03-25 22:37:40 +02:00
  • 954e5a2d02 Fix linux_stat EnderIce2 2024-03-25 22:30:59 +02:00
  • a8333048c8 Add stub for F_GETFL EnderIce2 2024-03-25 22:27:27 +02:00
  • 1192f041a9 Implement linux_tkill syscall EnderIce2 2024-03-25 15:18:29 +02:00
  • ab8ca388bb Add GetThread() function to PCB class EnderIce2 2024-03-25 15:12:21 +02:00
  • 2274089a1c Update algorithm functions template parameter names EnderIce2 2024-03-25 15:10:15 +02:00
  • 5e0fb5c942 Add return values to remove and remove_if functions EnderIce2 2024-03-22 04:39:45 +02:00
  • 6ebee99ed1 Add initializer_list constructor to unordered_map EnderIce2 2024-03-22 04:39:33 +02:00
  • 568f18002a Add std::initializer_list implementation EnderIce2 2024-03-22 04:39:18 +02:00
  • 49ef1dc454 Refactor stack expansion and stack fork implementation EnderIce2 2024-03-21 02:09:48 +02:00
  • 70cbbea3c0 Clear CR2 if the page fault is handled EnderIce2 2024-03-21 02:08:18 +02:00
  • bd24471748 Fix before panic framebuffer EnderIce2 2024-03-21 01:57:11 +02:00
  • 3a352045ab Add more debug messages for Signal EnderIce2 2024-03-20 21:54:58 +02:00
  • 17814499d1 Add stub for setting RLIMIT_NPROC EnderIce2 2024-03-20 21:52:16 +02:00
  • 5c7ee03dde Add stub TIOCGPGRP and TIOCSPGRP EnderIce2 2024-03-20 21:41:48 +02:00
  • 4df7c8dcae Fix file open error handling EnderIce2 2024-03-20 21:36:25 +02:00
  • 08458927ac Refactor Signal handling code EnderIce2 2024-03-20 21:29:02 +02:00
  • ce654bf710 Add stub implementation for getpgid syscall EnderIce2 2024-03-20 21:28:12 +02:00
  • 14964a1c07 Update linux_getcwd and implement linux_setpgid syscall EnderIce2 2024-03-20 21:24:41 +02:00
  • 4e3f2bc8ab Implement linux_getcwd syscall EnderIce2 2024-03-20 21:18:37 +02:00
  • 76367669be Fix execve and cleanup code EnderIce2 2024-03-20 17:40:27 +02:00
  • 665b26f754 Implement linux_openat syscall EnderIce2 2024-03-20 17:39:31 +02:00
  • a05f88091c Add stubs for setting RLIMIT_NOFILE and RLIMIT_STACK EnderIce2 2024-03-20 17:38:53 +02:00
  • a1cda40743 Implement pread64 and pwrite64 syscalls EnderIce2 2024-03-20 17:38:17 +02:00
  • a5ca3b3995 Add check for file existence in linux_access function EnderIce2 2024-03-20 17:37:20 +02:00
  • 717a98810a Implement clock_nanosleep syscall EnderIce2 2024-03-20 17:37:04 +02:00
  • 0cc40bafe8 Add debug statements for read and write operations EnderIce2 2024-03-20 04:56:26 +02:00
  • f7fde1a933 Remove unnecessary command line arguments in SpawnInit function EnderIce2 2024-03-20 04:56:15 +02:00
  • 45da53c843 Update debug messages EnderIce2 2024-03-20 03:27:28 +02:00
  • 4293d2a9ac Update logging EnderIce2 2024-03-19 20:57:14 +02:00
  • fb04ff9710 Update TODO.md EnderIce2 2024-03-19 03:59:10 +02:00
  • b35045e7ca Refactor memory allocation implementation and add KernelReserve flag to memory mappings EnderIce2 2024-03-19 03:57:30 +02:00
  • 1bd58a309f Refactor Check and CheckRegion functions in virtual.hpp EnderIce2 2024-03-19 03:52:44 +02:00
  • 3a5513ef8b Add bitset test code EnderIce2 2024-03-19 02:34:45 +02:00
  • dfe35ce2d8 Add std::bitset implementation EnderIce2 2024-03-19 02:34:32 +02:00
  • 90b9e7301d Rename string class to basic_string EnderIce2 2024-03-19 02:33:57 +02:00
  • be80b52543 Add char_traits stub class to <string> EnderIce2 2024-03-19 02:33:33 +02:00
  • 464022a61d Check Display class in InitFont() EnderIce2 2024-03-19 02:20:58 +02:00
  • 9722a44dc2 Fix typo in help command EnderIce2 2024-03-18 21:33:06 +02:00
  • c197383a74 Update page table in __stack_chk_fail and __chk_fail functions EnderIce2 2024-03-14 04:44:19 +02:00
  • 56e47f5cef Refactor MainInterruptHandler EnderIce2 2024-03-14 04:42:06 +02:00
  • 6f76e13c6d Rename TPL to TPR in used.cpp EnderIce2 2024-03-13 18:46:59 +02:00
  • 7d1041a3bd Refactor interrupt handling code EnderIce2 2024-03-13 18:46:01 +02:00
  • 2d5bb5193d Refactor BaseBufferStackError function EnderIce2 2024-03-13 18:45:07 +02:00
  • 740f100843 Add clamp function to <algorithm> EnderIce2 2024-03-13 18:18:03 +02:00
  • f009f181b0 Refactor code to use tab spaces EnderIce2 2024-03-13 18:09:42 +02:00
  • d247dcd4a3 Update CR8 structure EnderIce2 2024-03-13 18:08:20 +02:00
  • 292b022393 Remove unused code and debug information EnderIce2 2024-03-13 17:04:27 +02:00
  • 2ffd8e3c34 Refactor gsTCB struct for debugging and update usage in related files EnderIce2 2024-03-13 03:41:12 +02:00
  • e021c1d9eb Refactor file creation logic EnderIce2 2024-03-11 23:35:24 +02:00
  • 42225a5cd9 Refactor node creation logic EnderIce2 2024-03-11 23:35:01 +02:00
  • 0d2036139c Update DisplayDetailsScreen to include CopyOnWrite flag in page table entry EnderIce2 2024-03-11 23:29:47 +02:00
  • 0270192eec Add more page fault details EnderIce2 2024-03-10 22:51:09 +02:00
  • 1c723e9710 Update TODO.md EnderIce2 2024-03-10 22:07:02 +02:00
  • 0c0ee01f35 Add Flags field to gsTCB struct EnderIce2 2024-03-10 22:05:22 +02:00
  • 23d10fcd25 Add pow and fabs to cmath EnderIce2 2024-03-07 21:54:00 +02:00
  • 196aacda84 Update DisplayProcessScreen function to include executable name EnderIce2 2024-03-05 01:07:09 +02:00
  • 235f42b8d8 Update Linux fork and execve functions EnderIce2 2024-03-05 01:07:00 +02:00
  • 321305e795 Update print statement EnderIce2 2024-03-05 01:04:02 +02:00
  • 7c4adccf8d Fix stack align EnderIce2 2024-03-05 00:47:08 +02:00
  • 2633e8ed76 Add getgid, geteuid, getegid & stub access for Linux syscalls EnderIce2 2024-03-05 00:31:51 +02:00
  • 3cf4fda68a Refactor stack handling in thread.cpp EnderIce2 2024-03-05 00:30:54 +02:00
  • afd9227f31 Refactor stack pointer alignment in thread.cpp EnderIce2 2024-03-05 00:04:11 +02:00
  • 52ec0a25bf Fix incorrect condition in HandleException function EnderIce2 2024-03-04 23:11:40 +02:00
  • 2ddacf8e13 Fix memory access issues in linux_execve function EnderIce2 2024-03-04 02:53:28 +02:00
  • d2db08b2cf Workaround for QEMU TCG crash EnderIce2 2024-03-04 02:07:53 +02:00
  • 914e96b337 Handle signal interruptions during sleep EnderIce2 2024-03-03 23:58:12 +02:00
  • c2b595452e Add InitTrampoline and HasPendingSignal function EnderIce2 2024-03-03 23:58:05 +02:00
  • e69ace7fdc Add ExGetKSymbolByAddress function to retrieve kernel symbols by address EnderIce2 2024-03-03 23:48:19 +02:00
  • 23865ffc4f Add <utility> header to include_std/list EnderIce2 2024-03-03 22:19:58 +02:00
  • a29bdb9dd0 Add AC flag initialization to thread context EnderIce2 2024-03-03 22:15:23 +02:00
  • 8caed0c35c Update error colors EnderIce2 2024-03-02 01:42:23 +02:00
  • 7ed89bcb4c Check USTAR archive validation in KernelVFS() EnderIce2 2024-03-02 01:40:04 +02:00
  • d651dcbe7f Add check for empty drivers list and print message if no drivers to load EnderIce2 2024-03-02 01:33:00 +02:00
  • 0fd804abab Replace debug statement with KPrint EnderIce2 2024-03-02 01:32:51 +02:00
  • 000273aea0 Fix call instruction in signal_trampoline.s EnderIce2 2024-03-02 01:19:03 +02:00