Date: Fri, 6 Apr 2012 03:43:51 +0530 From: kota saikrishna <kotasaikrishna28@gmail.com> To: freebsd-hackers@freebsd.org Subject: Making addresses from the address specified and given size in the child's address space and make it valid. Message-ID: <CAB%2BEr%2BkE2GrZNegb38Ker_k=8znOnu%2BQNQphyy=5F7_p-nPRVw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to inject code into the child process using ptrace utility. The function of the injecting code is to make addresses from the address specified and the size in the child's address space and make it valid(i.e to read and write ..). On my knowledge i tried to use mmap system call but i could not able to allocate the memory can any one help in this point how to achieve this.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB%2BEr%2BkE2GrZNegb38Ker_k=8znOnu%2BQNQphyy=5F7_p-nPRVw>