2 votes 2 votes Is SYSTEM CALLS needed to setup the shared memory between two processes ? and what are these system calls and does this system calls have any security concern? Operating System operating-system + – junaid ahmad asked Nov 9, 2017 junaid ahmad 1.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply Rupendra Choudhary commented Nov 9, 2017 reply Follow Share Yes! I think system calls are needed because let suppose process B has occupied some memory segment and now a new Process A also using some same data that B is working on so , it's better than B share its that memory segment with A , now for this process A need the help of kernel , and for this system call is needed to invoke kernel. 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes Source: https://www.cs.cornell.edu/courses/cs4410/2008fa/homework/hw1_soln.pdf Note: Here the question asks about “setting up” the shared memory space. For access, I think, we don’t need system calls and use methods like Peterson solution. madhes23 answered Jan 11, 2022 madhes23 comment Share Follow See all 0 reply Please log in or register to add a comment.