os: don't close the Rm_connection in ldso

At this point we cannot close the connection anymore because all
mappings are gone and the needed stack is invalid. This is not a
problem since process will be discarded anyway.

Fixes #909.
This commit is contained in:
Josef Söntgen 2013-10-10 12:10:29 +02:00 committed by Norman Feske
parent eab8217bdb
commit 4d2b349380
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ namespace Genode {
Rm_area(addr_t base)
: Rm_connection(0, RESERVATION), _range(env()->heap())
{
on_destruction(KEEP_OPEN);
_base = (addr_t) env()->rm_session()->attach_at(dataspace(), base);
_range.add_range(base, RESERVATION);
}