a69b9c808eUpdate start_process to acquire filesys lock when loading user process file
Themis Demetriades
2024-11-12 14:21:33 +00:00
7d9900c6d8Merge branch 'exec-missing-validation' into 'master'
Demetriades, Themis
2024-11-11 23:25:26 +00:00
72afecfbdaAdd validation to check for missing files in exec() args
EDiasAlberto
2024-11-11 23:10:02 +00:00
9e692ced9eMerge branch 'userprog-merge' into 'master'
Demetriades, Themis
2024-11-11 22:59:45 +00:00
f194fa1fa8Merge branch 'userprog-merge' into 'master'
Demetriades, Themis
2024-11-11 22:56:28 +00:00
e8713e26c6Update variable references between conflicting merges to refer to the same data in stack initialization
userprog-merge
Themis Demetriades
2024-11-11 22:51:19 +00:00
47c3657b65Merge branch 'process-wait' into 'userprog-merge'
Demetriades, Themis
2024-11-11 22:24:39 +00:00
4eafdf10baMerge branch 'read-only-exec' into 'userprog-merge'
Demetriades, Themis
2024-11-11 22:23:20 +00:00
14a4841772Fix bug where size of file name buffer was less than maximum file name size
userprog-stack-init
Themis Demetriades
2024-11-11 22:13:10 +00:00
52fdd47e0cFix race condition in the passing of data from thread executing process_execute to its child
Themis Demetriades
2024-11-11 21:51:38 +00:00
049fc5559cReformat stack initialization code to follow style for length and spacing
Themis Demetriades
2024-11-11 21:20:53 +00:00
98a5818406add file_deny_write and file_allow_write to process creation and exiting to make executable read-only
EDiasAlberto
2024-11-11 17:55:24 +00:00
18c884234d
Fix race-condition in process result (memory leak), fix infinite loop in donors_listGleb Koval2024-11-11 17:35:49 +00:00
b8d358ecb2Update stack initialization to handle overflow by allocating a second page for argument pointers
Themis Demetriades
2024-11-11 13:13:21 +00:00
ec8547aec9
Implement creation of process resultsGleb Koval2024-11-08 03:31:48 +00:00
ddcd59fdf8
Add child and own process result information to struct threadGleb Koval2024-11-08 02:52:38 +00:00
ed09e0b08eMerge branch 'system-calls' into 'master'
Demetriades, Themis
2024-11-07 19:36:29 +00:00
39018419cdFix Bug in Process.c to print the exit statement in process_exit instead of exit syscall to handle unexpected/bad exits
sBubshait
2024-11-07 12:15:29 +00:00
6a3cf67d33Fix Bug in process.c initialising a char to NULL
sBubshait
2024-11-07 11:55:26 +00:00
2bfde66d22Merge remote-tracking branch 'origin/user-programs-stdout' into system-calls
sBubshait
2024-11-07 11:45:36 +00:00
273fb48b31Fix stack initialization to pass stack addreses (rather than thread addresses) for the arguments and only pass name a single time
Themis Demetriades
2024-11-07 00:40:52 +00:00
26ae7ac02eFix bug in stack creation which would count one extra argument for argc
Themis Demetriades
2024-11-06 23:57:48 +00:00
4020a140d2Fix removal of 'timer.h' include needed for calling timer_sleep in process module
Themis Demetriades
2024-11-06 22:36:43 +00:00
87dd84a9b9Merge branch 'user-programs' into 'user-programs-stdout'
Demetriades, Themis
2024-11-06 22:21:28 +00:00
014642c789Merge branch 'user-programs-stdout' into 'user-programs'
Demetriades, Themis
2024-11-06 22:20:48 +00:00
dfa42b9d25Merge branch 'user-programs' into 'system-calls'
Dias Alberto, Ethan
2024-11-06 16:57:10 +00:00
1a4afc9ec7Merge branch 'system-calls' into 'user-programs'
Dias Alberto, Ethan
2024-11-06 16:56:43 +00:00
5535cbae24Merge branch 'master' into 'system-calls'
Dias Alberto, Ethan
2024-11-06 16:45:53 +00:00
f685086d05Merge branch 'refactor-semaphore' into 'master'
Dias Alberto, Ethan
2024-11-06 16:42:26 +00:00
2fefdef605Merge branch 'user-programs-temporary-fix' into 'user-programs'
Dias Alberto, Ethan
2024-11-06 16:41:49 +00:00
fcb7e9e441Update setup_stack to temporarily fake set-up for a stack to prevent page faults in no arg user programs
sBubshait
2024-11-06 15:48:27 +00:00
ab716de0a6Update process_wait to temporarily sleep for 1 second to allow user programs to run
sBubshait
2024-11-06 15:46:47 +00:00
91cef4d650Refactor lock release and sema up to remove unnecessary code
sBubshait
2024-11-06 15:36:56 +00:00
b0c1923d44Update stack argument initialization behaviour to terminate creation of process on failing memory allocations
Themis Demetriades
2024-11-06 12:28:58 +00:00
5aac37d167Add temporary fixes to process_wait and setup stack, w/ E
sBubshait
2024-11-05 23:28:17 +00:00
02fff62ca2Refactor syscall.c to follow PintOS styling, w/ E
sBubshait
2024-11-05 23:24:41 +00:00
f4290c31f3Implement syscall_read for console input w/ S.
EDiasAlberto
2024-11-05 23:20:18 +00:00
01933cb5deImplement the write system call, w/ E
sBubshait
2024-11-05 23:07:07 +00:00
b3e23eb1ccImplement system call wait w/ S.
EDiasAlberto
2024-11-05 22:48:35 +00:00
421f2c1206Refactor function names and includes in syscall.c to avoid conflicts w/ S.
EDiasAlberto
2024-11-05 22:46:21 +00:00
e9c4061531Implement the exit system call, w/ E
sBubshait
2024-11-05 22:38:45 +00:00
2dccd87a76Update thread to add exit_status, intialised to -1, into the thread structure, w/ E
sBubshait
2024-11-05 22:38:09 +00:00
b4c41b0a6aRemove superfluous include in process.c
Themis Demetriades
2024-11-04 12:57:29 +00:00
2a890d5bd2Reformat calculation of padding size in stack set-up to increase clarity
Themis Demetriades
2024-11-04 12:54:18 +00:00
6c6ce77824Implement complete stack initialization for user processes, without accounting for overflow
Themis Demetriades
2024-11-04 01:11:19 +00:00
f8e529e877Add UNUSED tag to system call function skeletons w/ S.
EDiasAlberto
2024-11-04 01:02:04 +00:00