VM - vm_unmap() takes SELF as valid argument

This commit is contained in:
Tomas Hruby 2011-10-18 18:21:07 +00:00 committed by Tomas Hruby
parent 974452d4dd
commit 88f990e122

View file

@ -294,6 +294,8 @@ PUBLIC int do_shared_unmap(message *m)
vir_bytes addr;
target = m->VMUN_ENDPT;
if (target == SELF)
target = m->m_source;
if ((r = vm_isokendpt(target, &n)) != OK)
return EINVAL;