Commit Graph

  • d23ab8f476 kshell: Add more debug messages EnderIce2 2024-10-15 04:02:36 +03:00
  • b13fe4a28f std: Fix potential Use-After-Free vulnerability in std::string EnderIce2 2024-10-15 03:59:26 +03:00
  • b31d49be15 std: Fix std::string push_back() EnderIce2 2024-10-15 03:58:17 +03:00
  • ccb2cdde55 linux: Implement fchdir() syscall EnderIce2 2024-10-13 15:48:57 +03:00
  • ea9aa8c674 kshell: Update error messages EnderIce2 2024-10-13 15:15:32 +03:00
  • a2e9747ee8 driver: Check if process has an associated terminal EnderIce2 2024-10-13 14:58:29 +03:00
  • 396ad681ba tty: Fix kcon & tty implementation; Add stub ptmx EnderIce2 2024-10-13 13:00:22 +03:00
  • f48032658f vfs: Fix GetRoot(), CacheRecursiveSearch() and root identifier EnderIce2 2024-10-13 02:33:46 +03:00
  • 850b8ec490 std: Add TIOCGSID macro EnderIce2 2024-10-13 02:30:38 +03:00
  • 7cf35ec984 api: Add "KernelData" variable inside Inode structure EnderIce2 2024-10-13 02:30:13 +03:00
  • 9a6008a07c driver: Fix wrong file type in RegisterBlockDevice() EnderIce2 2024-10-13 02:28:50 +03:00
  • 6771bb21b2 linux: Fix returning wrong errno code on errors EnderIce2 2024-10-13 02:26:38 +03:00
  • 3ca2463834 vfs: Implement GetName() & GetPath() in FileNode class EnderIce2 2024-10-13 02:25:29 +03:00
  • 74faef2623 linux: Dump read() & write() content in debug output EnderIce2 2024-10-13 02:22:27 +03:00
  • 13eb650ee3 linux: Add stub vfork() function EnderIce2 2024-10-13 02:21:05 +03:00
  • 93e8e3f354 linux: Fix broken process limits implementation EnderIce2 2024-10-13 02:19:26 +03:00
  • 02cf233534 library: Return if Length == 0 in DumpData EnderIce2 2024-10-12 02:59:08 +03:00
  • e8e2aa4a5f Update chdir() implementation EnderIce2 2024-10-01 00:41:26 +03:00
  • ddf6a53412 Add chdir() syscall implementation EnderIce2 2024-09-30 23:57:39 +03:00
  • bd0c8d9ad8 Fix readdir inside /dev EnderIce2 2024-09-24 22:30:08 +03:00
  • 18d00a4bf3 Fix missing offset for /dev files EnderIce2 2024-09-24 22:29:39 +03:00
  • 7d7fc4d018 Fix the order of variables Cols and Rows EnderIce2 2024-09-24 01:32:29 +03:00
  • 85b6fdef80 Implement Virtual Terminal and fix /dev/kcon EnderIce2 2024-09-22 13:17:19 +03:00
  • 6f8e486740 Add debug message for GetBinaryType EnderIce2 2024-09-22 13:10:05 +03:00
  • cac9449457 Update debug messages for getcwd linux syscall EnderIce2 2024-08-31 22:15:24 +03:00
  • 7c81f026ce Add test_stat function EnderIce2 2024-08-29 18:18:02 +03:00
  • 84451d9510 Add stub RS-232 implementation EnderIce2 2024-08-27 20:38:59 +03:00
  • 75a558abc1 Update kernel API EnderIce2 2024-08-27 20:37:07 +03:00
  • 021d6fdd6b Update kernel api EnderIce2 2024-08-27 17:24:20 +03:00
  • 9bdb83c346 Reformat comments in interrupts.hpp EnderIce2 2024-08-19 09:42:28 +03:00
  • e9d022169e Fix iterator type mismatch in basic_string::erase functions EnderIce2 2024-08-18 21:34:35 +03:00
  • 31dca2e9a6 Remove unused SmartHeap class EnderIce2 2024-08-13 07:37:20 +03:00
  • e2e9cfe84d Add more debug messages EnderIce2 2024-08-13 07:30:29 +03:00
  • b783e8b88f Refactored linux_getpid for easier debugging EnderIce2 2024-08-01 03:20:42 +03:00
  • 4d201a5264 Fix memory corruption in USTAR::SymLink EnderIce2 2024-07-09 03:33:11 +03:00
  • 4ecf37c44e Fix driver implementation EnderIce2 2024-07-07 03:15:17 +03:00
  • 51ea074b60 Fix driver implementation EnderIce2 2024-07-07 03:14:54 +03:00
  • 3e5177d375 Fix broken iterator for unordered_map EnderIce2 2024-06-13 07:38:51 +03:00
  • aef28c9aff Reset cursor position after print EnderIce2 2024-06-08 04:35:18 +03:00
  • 2489fd93f1 Add strrchr implementation EnderIce2 2024-06-03 03:54:37 +03:00
  • 9eec276c18 Remove unnecessary variable assignment EnderIce2 2024-06-03 03:46:25 +03:00
  • bd7c44ae74 Update ELF header EnderIce2 2024-05-20 05:41:26 +03:00
  • 5329c92791 Return proper errno for null inode operations EnderIce2 2024-05-19 11:28:22 +03:00
  • 042a5f8d4a Fix missing member initialization EnderIce2 2024-05-19 08:55:52 +03:00
  • 6801475243 Refactor filesystem & stl code EnderIce2 2024-05-18 07:42:01 +03:00
  • 77a291d08b Implement operator delete with alignment support EnderIce2 2024-05-01 05:15:40 +03:00
  • 72d29a138d Fix RDSEEDFlag assignment EnderIce2 2024-05-01 05:14:44 +03:00
  • 6cedac03f5 Refactor RNG code EnderIce2 2024-04-26 18:33:43 +03:00
  • 5a94744fd2 Update STL headers EnderIce2 2024-04-15 05:13:24 +03:00
  • fd292305f6 Refactor lock related code EnderIce2 2024-04-10 06:25:55 +03:00
  • c76eb67883 Add null check in isempty function EnderIce2 2024-04-03 01:40:38 +03:00
  • daccdaeeae Implement process resource limits EnderIce2 2024-04-02 05:52:43 +03:00
  • e09d93e2bb Refactor panic handler and assertion failed display functions EnderIce2 2024-04-01 21:04:45 +03:00
  • 87e263f5fe Fix warning "ignoring changed section attributes for .text" EnderIce2 2024-04-01 20:52:55 +03:00
  • 91ca38fd77 Rename struct "stat" to "kstat" EnderIce2 2024-04-01 04:49:06 +03:00
  • 7b5a486391 Rename files with reference and descriptor code EnderIce2 2024-04-01 04:40:49 +03:00
  • a49e5e9913 Remove redundant file operation functions EnderIce2 2024-04-01 04:36:11 +03:00
  • bbb67b6a88 Refactor USTAR class and comments in FAT header EnderIce2 2024-04-01 04:33:36 +03:00
  • 74cf1cee47 Check for /bin directory existence and use /usr/bin as fallback EnderIce2 2024-04-01 03:39:05 +03:00
  • 5b7d0106a5 Fix handling of symbolic links in cd and ls commands EnderIce2 2024-04-01 03:29:34 +03:00
  • e327ca783b Comment debug statements in ustar.cpp and node.cpp EnderIce2 2024-04-01 03:24:47 +03:00
  • 6f0a2b3f17 Fix linux_stat, linux_fstat & linux_lstat EnderIce2 2024-04-01 03:19:48 +03:00
  • 84e5b2310e Refactor Node constructor EnderIce2 2024-04-01 01:25:51 +03:00
  • 45406209d8 Refactor debug print statements in user.cpp EnderIce2 2024-04-01 01:21:36 +03:00
  • 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
  • e90d69948c Add test_stdin function EnderIce2 2024-03-27 20:51:08 +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
  • ae58ac9cae Update userspace test EnderIce2 2024-03-25 20:48:58 +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