--- tags: Linux_TA --- # Linux Project 2 ## Question * Write a program using the system call you wrote in Project 1 to check how memory areas are ==shared by two processes== that execute this program simultaneously. * The memory areas include code segments, data segments, BSS segments, heap segments, libraries, stack segments. ### Hint: * When making your check, both related processes must be in progress. Hence you may need to use function ==sleep()== to guarantee this requirement. * Inside the Linux kernel, you need to use function ==copy_from_user()== and function ==copy_to_user()== to copy data from/to a user address buffer.