AWL Team
|
Re: Memory partitioning for sensitive processes on QNX 6.4
|
AWL Team
08/03/2011 9:07 AM
post87791
|
Re: Memory partitioning for sensitive processes on QNX 6.4
Thanks for your answer.
We did try to modify the system page and add a type memory segment corresponding to the unsecured part of our memory.
The problem we have is as follows:
- we can posix_typed_mem_open() the unsecured memory
- we can mmap() the corresponding file descriptor and access the memory
- however, we don't have an easy way of doing dynamic memory allocation inside the mmaped memory. Worse, we would
actually need that many processes can do malloc's inside the unsecured memory.
Our current solution path is the following (not yet implemented):
- a resource manager process which mmap()s the entire unsecured memory.
- replace malloc(), free(), realloc(), etc. by a custom library which talks to the resource manager
|
|
|