Commit Graph

1982 Commits

Author SHA1 Message Date
079055082a panic: Check if CurrentProcess & CurrentThread are valid before showing info 2024-11-16 04:42:20 +02:00
4bc4e9b76f stl: Implement coroutines 2024-11-15 01:54:21 +02:00
1ab4ace23c stl: Update headers
type_traits: Add is_integral
optional: Add stub optional class
iterator: Add default_sentinel_t & default_sentinel
concepts: Add concepts header + integral concept
2024-11-15 01:34:34 +02:00
ef1c5bb39e panic: Add stub code for UHCI, EHCI & XHCI controllers 2024-11-10 16:30:43 +02:00
a211280891 chore: Update vscode debug configurations 2024-11-08 02:31:36 +02:00
393c8ba4cb chore: Update vscode boilerplates 2024-11-08 02:30:57 +02:00
6dc734bb0b interrupts: Update MainInterruptHandler 2024-10-30 03:07:47 +02:00
ab6529f6e6 memory: Add kernel stack manager 2024-10-30 02:28:49 +02:00
99292467ed task: Remove redundant code
NewLock(SchedulerLock);
2024-10-26 03:54:46 +03:00
29896bb0a4 memory: Refactor SwapPT class 2024-10-26 03:25:36 +03:00
b6006e379d panic: Refactor PS/2 keyboard initialization code 2024-10-26 03:24:29 +03:00
462907828d linux: Remove redundant SwapPT in linux_getrandom() 2024-10-25 01:00:58 +03:00
c0df0291eb kshell: Check for absolute path 2024-10-22 05:27:43 +03:00
032b8acca0 kshell: Fix search for binaries in /usr/bin/ 2024-10-21 02:59:55 +03:00
8b442d14e3 linux: Implement vfork() syscall 2024-10-20 03:02:09 +03:00
0edd84c8a8 linux: Disable stack protector for __LinuxForkReturn() 2024-10-20 03:01:30 +03:00
f57ad7fc81 task: Implement new process state
Added "Frozen" for vfork implementation.
2024-10-20 03:00:34 +03:00
53360c10e2 linux: Fix code style in linux_execve() function 2024-10-19 01:52:25 +03:00
d9517a5cab api: Add documentation to RingBuffer class 2024-10-19 01:44:48 +03:00
88c87172ba vt: Fix incorrect buffer read size in VirtualTerminal
Resolved an issue in VirtualTerminal::Read where the size of the report buffer was incorrectly set to sizeof(report), causing multiple unintended reads.
2024-10-19 01:31:42 +03:00
6657a90739 core: Simplified interrupt event check logic in MainInterruptHandler 2024-10-19 01:29:27 +03:00
5054243bc6 linux: Implement sched_setaffinity() and sched_getaffinity() syscalls 2024-10-16 16:50:15 +03:00
8dc6edac4a linux: Implement getdents64() syscall 2024-10-16 02:12:15 +03:00
547ae94f80 linux: Add more debug messages for newfstatat syscall 2024-10-16 02:11:36 +03:00
acabadaaab linux: Correct struct linux_dirent64 variables 2024-10-16 02:10:34 +03:00
f624339dff fs: Fix ustar ReadDir() wrong d_type 2024-10-16 01:50:49 +03:00
fa31ade889 linux: Fix newfstatat() syscall 2024-10-16 00:12:24 +03:00
beca151fa6 std: Remove pragma "STDC FENV_ACCESS"
This pragma was ignored anyway
2024-10-15 04:05:07 +03:00
d23ab8f476 kshell: Add more debug messages 2024-10-15 04:02:36 +03:00
b13fe4a28f std: Fix potential Use-After-Free vulnerability in std::string 2024-10-15 03:59:26 +03:00
b31d49be15 std: Fix std::string push_back()
Allocate 2 bytes if cap == 0, not 1.
2024-10-15 03:58:17 +03:00
ccb2cdde55 linux: Implement fchdir() syscall 2024-10-13 15:48:57 +03:00
ea9aa8c674 kshell: Update error messages 2024-10-13 15:15:32 +03:00
a2e9747ee8 driver: Check if process has an associated terminal
Return ENOTTY if thisProcess->tty is null for any operation.
2024-10-13 14:58:29 +03:00
396ad681ba tty: Fix kcon & tty implementation; Add stub ptmx 2024-10-13 13:00:22 +03:00
f48032658f vfs: Fix GetRoot(), CacheRecursiveSearch() and root identifier 2024-10-13 02:33:46 +03:00
850b8ec490 std: Add TIOCGSID macro 2024-10-13 02:30:38 +03:00
7cf35ec984 api: Add "KernelData" variable inside Inode structure 2024-10-13 02:30:13 +03:00
9a6008a07c driver: Fix wrong file type in RegisterBlockDevice()
S_IFCHR -> S_IFBLK
2024-10-13 02:28:50 +03:00
6771bb21b2 linux: Fix returning wrong errno code on errors 2024-10-13 02:26:38 +03:00
3ca2463834 vfs: Implement GetName() & GetPath() in FileNode class 2024-10-13 02:25:29 +03:00
74faef2623 linux: Dump read() & write() content in debug output 2024-10-13 02:22:27 +03:00
13eb650ee3 linux: Add stub vfork() function 2024-10-13 02:21:05 +03:00
93e8e3f354 linux: Fix broken process limits implementation 2024-10-13 02:19:26 +03:00
02cf233534 library: Return if Length == 0 in DumpData 2024-10-12 02:59:08 +03:00
e8e2aa4a5f Update chdir() implementation
Use SetWorkingDirectory()
2024-10-01 00:41:26 +03:00
ddf6a53412 Add chdir() syscall implementation 2024-09-30 23:57:39 +03:00
bd0c8d9ad8 Fix readdir inside /dev 2024-09-24 22:30:08 +03:00
18d00a4bf3 Fix missing offset for /dev files 2024-09-24 22:29:39 +03:00
7d7fc4d018 Fix the order of variables Cols and Rows
typo
2024-09-24 01:32:29 +03:00