1109 Commits

Author SHA1 Message Date
EnderIce2
e3f2912d59
Add stub F_DUPFD_CLOEXEC and add more cases in linux_fcntl 2024-04-01 01:12:37 +03:00
EnderIce2
a09dfe274a
Fix file creation and append functionality 2024-04-01 00:58:09 +03:00
EnderIce2
e42759147e
Add linux_umask syscall implementation 2024-04-01 00:47:51 +03:00
EnderIce2
473821bfa8
Implement process file mode creation mask 2024-04-01 00:47:33 +03:00
EnderIce2
a3b3ab76a7
Fix stat in linux 2024-03-31 21:42:10 +03:00
EnderIce2
2d94246f55
Update fdt stat to include file timestamps 2024-03-31 21:41:07 +03:00
EnderIce2
eb3c6f42d6
Fix data type definitions 2024-03-31 21:03:44 +03:00
EnderIce2
fcccb5b44f
Fix linux_newfstatat
"If pathname is absolute, then dirfd is ignored."
2024-03-31 19:37:56 +03:00
EnderIce2
f5a6a39159
Fix linux_newfstatat function to correctly handle absolute paths 2024-03-31 17:14:58 +03:00
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