VM - vm_unmap() takes SELF as valid argument
This commit is contained in:
parent
974452d4dd
commit
88f990e122
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue