8047c65227Update syscall handling of invalid pointers by preloading pages using the helper try_fetch_page
vm/lazy-loading
sBubshait
2024-11-29 18:55:28 +00:00
d047a3c242Update Userprog Makefile to include vm files
sBubshait
2024-11-29 18:49:26 +00:00
c8b93c57eeFix: Update writability of the last page after loading as a workaround to calculating the offset, w/ G
sBubshait
2024-11-29 15:45:44 +00:00
92d0b68243Fix: Avoid closing the file after loading segments to be able to lazily load from file without opening, w/ G
sBubshait
2024-11-29 14:32:55 +00:00
801fd7d310Implement page fault for lazy loading executables, w/ G
sBubshait
2024-11-28 20:03:50 +00:00
df20e0fdfeUpdate load_segment to load only the metadata of the pages to the SPT, w/ G
sBubshait
2024-11-28 18:35:49 +00:00
6b1dbdd34fUpdate thread and syscall to use local fd counter instead global one, preventing overflow
sBubshait
2024-11-15 15:48:56 +00:00
7daf4fb079Refactor process_exit to add more comments for readability
sBubshait
2024-11-15 15:35:07 +00:00
a7f1d519daRefactor process_wait to add more comments and improve readability
sBubshait
2024-11-15 15:09:24 +00:00
0f1bce2e88Refactor process_init_stack to add asserts and comments
sBubshait
2024-11-15 14:52:21 +00:00
f4c900e56cRefactor process.c for comments, clarity and readability
sBubshait
2024-11-15 14:37:38 +00:00
82d45880f7Update validate_user_pointer to start from the beginning of the page rather than the given ptr
sBubshait
2024-11-15 13:49:58 +00:00
1c757ecdfeUpdate syscall to add more helpful comments for clarity and readability
sBubshait
2024-11-15 13:44:21 +00:00
6a1d10a19bRefactor synch to follow PintOS curly braces indentation style in if statements
sBubshait
2024-11-15 13:28:55 +00:00
0e50603eefMerge branch 'stack-init-overflowfix' into 'master'
Demetriades, Themis
2024-11-15 13:41:41 +00:00
7947ac78e8Remove args-ovf user program binary, replacing with source for testing
Themis Demetriades
2024-11-15 13:40:16 +00:00
4b0d0a51f0Merge branch 'stack-init-overflowfix' into 'master'
Demetriades, Themis
2024-11-15 13:38:35 +00:00
eff0837fdcUpdate stack initialization code to handle all possible overflows and implement a user program to test this
Themis Demetriades
2024-11-15 13:35:58 +00:00
9b82947bebMerge branch 'stack-init-memfix' into 'master'
Demetriades, Themis
2024-11-14 21:06:20 +00:00
5e2e7199f2Fix memory leak in start_process
Themis Demetriades
2024-11-14 21:03:55 +00:00
bbe41e178dMerge branch 'stack-init-optimize' into 'master'
Demetriades, Themis
2024-11-14 16:06:22 +00:00
e4036c715fRefactor start_process to hold file system lock for less time
Themis Demetriades
2024-11-14 16:05:15 +00:00
3a46e0f73aUpdate user proc stack initialization comments to be more helpful
Themis Demetriades
2024-11-14 15:54:34 +00:00
8821851459Refactor process_execute to remove use of 'goto'
Themis Demetriades
2024-11-14 14:42:26 +00:00
1a2ff35231Refactor process_execute to pass process start data as a local reference rather than perform memory allocation on the heap
Themis Demetriades
2024-11-14 14:32:48 +00:00
e1489e5244Fix Bug: Free all entries in the fd hashtable when the process exits, (Saleh, Ethan)
themis/userprog-multi-oom
Themis Demetriades
2024-11-13 21:57:41 +00:00
4f586bb4daFix Bug: Free all entries in the fd hashtable when the process exits, w/ E
sBubshait
2024-11-13 17:42:25 +00:00
be68d81cf6Fix memory leak in start_process due to not freeing proc_start_data when success in initializing stack
Themis Demetriades
2024-11-13 17:21:38 +00:00