A typical process consists of 4 memory regions text, data, heap and stack. What protection attributes does each of them have ?
Thanks
Josh
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This varies between operating systems, so no generally valid answer is possible, but typically it looks like this:
Older operating systems might have text and data writable (some hardware does not allow to distinguish between read and read-execute either). Also, some operating systems will let you change this at will, and others will not (or will have some restrictions, such as not letting you set something to “execute” that was “write” before).