EnderIce2
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
EnderIce2
6657a90739
core: Simplified interrupt event check logic in MainInterruptHandler
2024-10-19 01:29:27 +03:00
EnderIce2
5054243bc6
linux: Implement sched_setaffinity() and sched_getaffinity() syscalls
2024-10-16 16:50:15 +03:00
EnderIce2
8dc6edac4a
linux: Implement getdents64() syscall
2024-10-16 02:12:15 +03:00
EnderIce2
547ae94f80
linux: Add more debug messages for newfstatat syscall
2024-10-16 02:11:36 +03:00
EnderIce2
acabadaaab
linux: Correct struct linux_dirent64 variables
2024-10-16 02:10:34 +03:00
EnderIce2
f624339dff
fs: Fix ustar ReadDir() wrong d_type
2024-10-16 01:50:49 +03:00
EnderIce2
fa31ade889
linux: Fix newfstatat() syscall
2024-10-16 00:12:24 +03:00
EnderIce2
beca151fa6
std: Remove pragma "STDC FENV_ACCESS"
...
This pragma was ignored anyway
2024-10-15 04:05:07 +03:00
EnderIce2
d23ab8f476
kshell: Add more debug messages
2024-10-15 04:02:36 +03:00
EnderIce2
b13fe4a28f
std: Fix potential Use-After-Free vulnerability in std::string
2024-10-15 03:59:26 +03:00
EnderIce2
b31d49be15
std: Fix std::string push_back()
...
Allocate 2 bytes if cap == 0, not 1.
2024-10-15 03:58:17 +03:00
EnderIce2
ccb2cdde55
linux: Implement fchdir() syscall
2024-10-13 15:48:57 +03:00
EnderIce2
ea9aa8c674
kshell: Update error messages
2024-10-13 15:15:32 +03:00
EnderIce2
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
EnderIce2
396ad681ba
tty: Fix kcon & tty implementation; Add stub ptmx
2024-10-13 13:00:22 +03:00
EnderIce2
f48032658f
vfs: Fix GetRoot(), CacheRecursiveSearch() and root identifier
2024-10-13 02:33:46 +03:00
EnderIce2
850b8ec490
std: Add TIOCGSID macro
2024-10-13 02:30:38 +03:00
EnderIce2
7cf35ec984
api: Add "KernelData" variable inside Inode structure
2024-10-13 02:30:13 +03:00
EnderIce2
9a6008a07c
driver: Fix wrong file type in RegisterBlockDevice()
...
S_IFCHR -> S_IFBLK
2024-10-13 02:28:50 +03:00
EnderIce2
6771bb21b2
linux: Fix returning wrong errno code on errors
2024-10-13 02:26:38 +03:00
EnderIce2
3ca2463834
vfs: Implement GetName() & GetPath() in FileNode class
2024-10-13 02:25:29 +03:00
EnderIce2
74faef2623
linux: Dump read() & write() content in debug output
2024-10-13 02:22:27 +03:00
EnderIce2
13eb650ee3
linux: Add stub vfork() function
2024-10-13 02:21:05 +03:00
EnderIce2
93e8e3f354
linux: Fix broken process limits implementation
2024-10-13 02:19:26 +03:00
EnderIce2
02cf233534
library: Return if Length == 0 in DumpData
2024-10-12 02:59:08 +03:00
EnderIce2
e8e2aa4a5f
Update chdir() implementation
...
Use SetWorkingDirectory()
2024-10-01 00:41:26 +03:00
EnderIce2
ddf6a53412
Add chdir() syscall implementation
2024-09-30 23:57:39 +03:00
EnderIce2
bd0c8d9ad8
Fix readdir inside /dev
2024-09-24 22:30:08 +03:00
EnderIce2
18d00a4bf3
Fix missing offset for /dev files
2024-09-24 22:29:39 +03:00
EnderIce2
7d7fc4d018
Fix the order of variables Cols and Rows
...
typo
2024-09-24 01:32:29 +03:00
EnderIce2
85b6fdef80
Implement Virtual Terminal and fix /dev/kcon
2024-09-22 13:17:19 +03:00
EnderIce2
6f8e486740
Add debug message for GetBinaryType
2024-09-22 13:10:05 +03:00
EnderIce2
cac9449457
Update debug messages for getcwd linux syscall
2024-08-31 22:15:24 +03:00
EnderIce2
021d6fdd6b
Update kernel api
2024-08-27 17:24:20 +03:00
EnderIce2
9bdb83c346
Reformat comments in interrupts.hpp
2024-08-19 09:42:28 +03:00
EnderIce2
e9d022169e
Fix iterator type mismatch in basic_string::erase functions
2024-08-18 21:34:35 +03:00
EnderIce2
31dca2e9a6
Remove unused SmartHeap class
2024-08-13 07:37:20 +03:00
EnderIce2
e2e9cfe84d
Add more debug messages
2024-08-13 07:30:29 +03:00
EnderIce2
b783e8b88f
Refactored linux_getpid for easier debugging
2024-08-01 03:20:42 +03:00
EnderIce2
4d201a5264
Fix memory corruption in USTAR::SymLink
2024-07-09 03:33:11 +03:00
EnderIce2
51ea074b60
Fix driver implementation
2024-07-07 03:14:54 +03:00
EnderIce2
3e5177d375
Fix broken iterator for unordered_map
2024-06-13 07:38:51 +03:00
EnderIce2
aef28c9aff
Reset cursor position after print
2024-06-08 04:35:18 +03:00
EnderIce2
2489fd93f1
Add strrchr implementation
2024-06-03 03:54:37 +03:00
EnderIce2
9eec276c18
Remove unnecessary variable assignment
2024-06-03 03:46:25 +03:00
EnderIce2
bd7c44ae74
Update ELF header
2024-05-20 05:41:26 +03:00
EnderIce2
5329c92791
Return proper errno for null inode operations
2024-05-19 11:28:22 +03:00
EnderIce2
042a5f8d4a
Fix missing member initialization
2024-05-19 08:55:52 +03:00
EnderIce2
6801475243
Refactor filesystem & stl code
2024-05-18 07:42:01 +03:00