In Linux, how does one invalidate radomization? -- Linux general technology-Linux technology and application information. For details, refer to the following section. I created multiple sub-processes in Linux5 and used them to use the same shared memory. However, only one process can correctly access the shared memory while other processes cannot access the shared memory. I checked some information to make Linux's radomization mechanism ineffective. However, the attempt does not seem to work. Another method is to add personality (orig_personality | ADDR_NO_RANDOMIZE) before fork and exec. In this function, the value of orig_personality is not confirmed, and the direct personality (ADDR_NO_RANDOMIZE) does not work. Do you have any ideas?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service