1100 Commits

Author SHA1 Message Date
EnderIce2
f0896a0b75
Fix memory leak in linux_openat function 2024-03-31 17:13:32 +03:00
EnderIce2
08c4bcc4a3
Fix RawKeyQueue empty check 2024-03-31 02:26:07 +02:00
EnderIce2
5a00e91011
Fix signals from exception handler 2024-03-28 03:15:05 +02:00
EnderIce2
8be2e10a8c
Allow kernel shell to execute binaries 2024-03-28 03:10:58 +02:00
EnderIce2
ac2147b69b
Add stub for F_GETFL and F_SETFL 2024-03-28 01:42:21 +02:00
EnderIce2
ac658beb5b
Fix file mode in statbuf structure 2024-03-28 01:31:47 +02:00
EnderIce2
6d2c04d0c8
Update error message 2024-03-28 01:16:19 +02:00
EnderIce2
147027b613
Add linux_getrusage and linux_setitimer syscall implementation 2024-03-28 00:16:32 +02:00
EnderIce2
eb3020bde7
Fix key event handling 2024-03-27 22:29:19 +02:00
EnderIce2
8386e44fda
Fix page table update bug in scheduler 2024-03-27 20:35:25 +02:00
EnderIce2
603a21c3d2
Fix release compilation 2024-03-27 19:58:10 +02:00
EnderIce2
3dc1981820
Implement VirtualAllocation class 2024-03-27 19:51:15 +02:00
EnderIce2
d7cc1f5c47
Add ptr_t class to types.h 2024-03-27 18:21:17 +02:00
EnderIce2
b8355ec455
Update Xalloc configuration 2024-03-27 16:43:40 +02:00
EnderIce2
3d1ecc3db0
Rework signal handling code 2024-03-25 23:21:27 +02:00
EnderIce2
3b1bd58a36
Add RLIMIT_FSIZE stub 2024-03-25 22:37:40 +02:00
EnderIce2
954e5a2d02
Fix linux_stat 2024-03-25 22:30:59 +02:00
EnderIce2
a8333048c8
Add stub for F_GETFL 2024-03-25 22:27:27 +02:00
EnderIce2
1192f041a9
Implement linux_tkill syscall 2024-03-25 15:18:29 +02:00
EnderIce2
ab8ca388bb
Add GetThread() function to PCB class 2024-03-25 15:12:21 +02:00
EnderIce2
2274089a1c
Update algorithm functions template parameter names 2024-03-25 15:10:15 +02:00
EnderIce2
5e0fb5c942
Add return values to remove and remove_if functions 2024-03-22 04:39:45 +02:00
EnderIce2
6ebee99ed1
Add initializer_list constructor to unordered_map 2024-03-22 04:39:33 +02:00
EnderIce2
568f18002a
Add std::initializer_list implementation 2024-03-22 04:39:18 +02:00
EnderIce2
49ef1dc454
Refactor stack expansion and stack fork implementation 2024-03-21 02:09:48 +02:00
EnderIce2
70cbbea3c0
Clear CR2 if the page fault is handled 2024-03-21 02:08:18 +02:00
EnderIce2
bd24471748
Fix before panic framebuffer 2024-03-21 01:57:11 +02:00
EnderIce2
3a352045ab
Add more debug messages for Signal 2024-03-20 21:54:58 +02:00
EnderIce2
17814499d1
Add stub for setting RLIMIT_NPROC 2024-03-20 21:52:16 +02:00
EnderIce2
5c7ee03dde
Add stub TIOCGPGRP and TIOCSPGRP 2024-03-20 21:41:48 +02:00
EnderIce2
4df7c8dcae
Fix file open error handling 2024-03-20 21:36:25 +02:00
EnderIce2
08458927ac
Refactor Signal handling code 2024-03-20 21:29:02 +02:00
EnderIce2
ce654bf710
Add stub implementation for getpgid syscall 2024-03-20 21:28:12 +02:00
EnderIce2
14964a1c07
Update linux_getcwd and implement linux_setpgid syscall 2024-03-20 21:24:41 +02:00
EnderIce2
4e3f2bc8ab
Implement linux_getcwd syscall 2024-03-20 21:18:37 +02:00
EnderIce2
76367669be
Fix execve and cleanup code 2024-03-20 17:40:27 +02:00
EnderIce2
665b26f754
Implement linux_openat syscall 2024-03-20 17:39:31 +02:00
EnderIce2
a05f88091c
Add stubs for setting RLIMIT_NOFILE and RLIMIT_STACK 2024-03-20 17:38:53 +02:00
EnderIce2
a1cda40743
Implement pread64 and pwrite64 syscalls 2024-03-20 17:38:17 +02:00
EnderIce2
a5ca3b3995
Add check for file existence in linux_access function 2024-03-20 17:37:20 +02:00
EnderIce2
717a98810a
Implement clock_nanosleep syscall 2024-03-20 17:37:04 +02:00
EnderIce2
0cc40bafe8
Add debug statements for read and write operations 2024-03-20 04:56:26 +02:00
EnderIce2
f7fde1a933
Remove unnecessary command line arguments in SpawnInit function 2024-03-20 04:56:15 +02:00
EnderIce2
45da53c843
Update debug messages 2024-03-20 03:27:28 +02:00
EnderIce2
4293d2a9ac
Update logging 2024-03-19 20:57:14 +02:00
EnderIce2
fb04ff9710
Update TODO.md 2024-03-19 03:59:10 +02:00
EnderIce2
b35045e7ca
Refactor memory allocation implementation and add KernelReserve flag to memory mappings 2024-03-19 03:57:30 +02:00
EnderIce2
1bd58a309f
Refactor Check and CheckRegion functions in virtual.hpp 2024-03-19 03:52:44 +02:00
EnderIce2
3a5513ef8b
Add bitset test code 2024-03-19 02:34:45 +02:00
EnderIce2
dfe35ce2d8
Add std::bitset implementation 2024-03-19 02:34:32 +02:00