EDiasAlberto
|
98a5818406
|
add file_deny_write and file_allow_write to process creation and exiting to make executable read-only
|
2024-11-11 17:55:24 +00:00 |
|
EDiasAlberto
|
5b1e4b561b
|
merge process-wait
|
2024-11-11 15:50:21 +00:00 |
|
EDiasAlberto
|
1bfd73b202
|
Comment syscall functions and handlers
|
2024-11-10 01:32:58 +00:00 |
|
|
|
7778e05aa4
|
Fix deadlock by release of lock and semaphore in the wrong order
|
2024-11-09 11:06:36 +00:00 |
|
sBubshait
|
115c650c55
|
Fix Bug in thread initialisation: only init hash if USERPROG is defined
|
2024-11-08 19:10:42 +00:00 |
|
sBubshait
|
e40794e672
|
Fix Bug in fd_get_file: In case fd not found, then returns NULL, w/ E
|
2024-11-08 16:48:19 +00:00 |
|
sBubshait
|
8912ef4660
|
Implement writing to file system files in the write system call, w/ E
|
2024-11-08 16:26:47 +00:00 |
|
EDiasAlberto
|
18694d7b62
|
Implement file reading syscall and fix fd validation w/ S.
|
2024-11-08 16:25:49 +00:00 |
|
sBubshait
|
2a1cc3c361
|
Implement filesize and tell system calls, w/ E
|
2024-11-08 16:14:53 +00:00 |
|
EDiasAlberto
|
3cfbe198e0
|
Implement syscall for seek w/ S.
|
2024-11-08 16:10:46 +00:00 |
|
EDiasAlberto
|
75bd3fbde0
|
Implement syscall for close() and fix typing bug in fd_get_file w/ S.
|
2024-11-08 16:02:51 +00:00 |
|
sBubshait
|
a80084e907
|
Fix Bug in fd_get_file declaration use open_file instead of file, w/ E
|
2024-11-08 15:54:28 +00:00 |
|
sBubshait
|
5424276603
|
Add a helper function to get a file from its descriptor (FD), w/ E
|
2024-11-08 15:50:48 +00:00 |
|
EDiasAlberto
|
92e93b8060
|
Implement syscall for file opening and refactor open_files initialisation in thread.c w/ S.
|
2024-11-08 15:33:47 +00:00 |
|
sBubshait
|
5bd94894e0
|
Update thread structure to add a hash table of open files and initialise it, w/ E
|
2024-11-08 15:13:04 +00:00 |
|
sBubshait
|
5bbe7a03c0
|
Add in syscall hash helper functions for open_file struct: fd_hash and fd_less, w/ E
|
2024-11-08 15:12:08 +00:00 |
|
sBubshait
|
b112824a64
|
Implement the exec system call through process_execute, w/ E
|
2024-11-08 14:41:27 +00:00 |
|
EDiasAlberto
|
dca9d8f5a3
|
Implement syscall for file removal w/ S.
|
2024-11-08 14:35:23 +00:00 |
|
EDiasAlberto
|
a8676f2e09
|
Implement syscall for file creation, with relevant locks w/ S.
|
2024-11-08 14:34:08 +00:00 |
|
sBubshait
|
26e38be761
|
Update validate_user_pointer to check if the ptr is mapped to a physical memory address, w/ E
|
2024-11-08 14:21:16 +00:00 |
|
|
|
6ed1ccd21e
|
Fix process_result locking by acquiring in process_wait as well to prevent freeing memory too early
|
2024-11-08 10:50:10 +00:00 |
|
|
|
84fe637c7e
|
Remove process_result lock since it is an invalid solution
TODO : synchronise process_result in another way
|
2024-11-08 09:16:18 +00:00 |
|
|
|
d95894085b
|
Implement syscall_exec via process_execute
|
2024-11-08 09:15:22 +00:00 |
|
|
|
fde70dcf59
|
Implement process_wait.
|
2024-11-08 03:56:15 +00:00 |
|
|
|
7349b4e66f
|
Fix typo list_insert -> list_push_back for thread.child_results
|
2024-11-08 03:55:34 +00:00 |
|
|
|
ec8547aec9
|
Implement creation of process results
|
2024-11-08 03:31:48 +00:00 |
|
|
|
ddcd59fdf8
|
Add child and own process result information to struct thread
|
2024-11-08 03:30:58 +00:00 |
|