genodelabs/genode — Issue #144: Don't memcpy when copying parent capability.
Author: skalk
Created: 2012-03-07 10:20:41+00:00
State: open

As a prerequisite to issue #32 it's necessary to get rid of the *memcpy* operation used to copy the parent-capability to the data-segment of a new process, while setting it up (have a look at: *base/src/base/process/process.cc*). When using smart-pointer like *Native_capability*s, where the actual information (like the *local_name*) isn't part of the object anymore, *memcpy* won't work.
I suggest to give the responsibility how this cross-pd copy has to be done to the *Native_capability* class itself.