37 Commits

Author SHA1 Message Date
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
EnderIce2
ddad5ca38a
Remove ELFSymbolTable from PCB 2024-02-28 06:11:31 +02:00
EnderIce2
d89f59a252
Implement file mapping functionality in linux_mmap() 2024-02-02 01:58:31 +02:00
EnderIce2
96daa43d38
Update kernel 2024-01-19 06:47:42 +02:00
Alex
889e1522a3
Restructured and rewritten entire codebase 2023-10-09 01:16:24 +03:00