VM - vm_unmap() takes SELF as valid argument
This commit is contained in:
parent
974452d4dd
commit
88f990e122
@ -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…
x
Reference in New Issue
Block a user