54 Commits

Author SHA1 Message Date
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
fa31ade889
linux: Fix newfstatat() syscall 2024-10-16 00:12:24 +03:00
EnderIce2
ccb2cdde55
linux: Implement fchdir() syscall 2024-10-13 15:48:57 +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
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
cac9449457
Update debug messages for getcwd linux syscall 2024-08-31 22:15:24 +03:00
EnderIce2
31dca2e9a6
Remove unused SmartHeap class 2024-08-13 07:37:20 +03:00
EnderIce2
b783e8b88f
Refactored linux_getpid for easier debugging 2024-08-01 03:20:42 +03:00
EnderIce2
6801475243
Refactor filesystem & stl code 2024-05-18 07:42:01 +03:00
EnderIce2
daccdaeeae
Implement process resource limits 2024-04-02 05:52:43 +03:00
EnderIce2
91ca38fd77
Rename struct "stat" to "kstat" 2024-04-01 04:49:06 +03:00
EnderIce2
6f0a2b3f17
Fix linux_stat, linux_fstat & linux_lstat 2024-04-01 03:19:48 +03:00
EnderIce2
e3f2912d59
Add stub F_DUPFD_CLOEXEC and add more cases in linux_fcntl 2024-04-01 01:12:37 +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
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
ac2147b69b
Add stub for F_GETFL and F_SETFL 2024-03-28 01:42:21 +02:00
EnderIce2
147027b613
Add linux_getrusage and linux_setitimer syscall implementation 2024-03-28 00:16:32 +02:00
EnderIce2
603a21c3d2
Fix release compilation 2024-03-27 19:58:10 +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
17814499d1
Add stub for setting RLIMIT_NPROC 2024-03-20 21:52:16 +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
b35045e7ca
Refactor memory allocation implementation and add KernelReserve flag to memory mappings 2024-03-19 03:57:30 +02:00
EnderIce2
235f42b8d8
Update Linux fork and execve functions 2024-03-05 01:07:00 +02:00
EnderIce2
2633e8ed76
Add getgid, geteuid, getegid & stub access for Linux syscalls 2024-03-05 00:31:51 +02:00
EnderIce2
2ddacf8e13
Fix memory access issues in linux_execve function 2024-03-04 02:53:28 +02:00
EnderIce2
914e96b337
Handle signal interruptions during sleep 2024-03-03 23:58:12 +02:00
EnderIce2
d3a16469ad
Revise PID and TID generation to align with standards 2024-03-02 00:51:06 +02:00