Utcbs of exiting children are successfully unmapped from vfs via sys_shmdt

The shared memory addresses are returned back to their pools via the
deletion function of such objects. They don't get released via do_munmap().
This commit is contained in:
Bahadir Balban
2008-11-08 13:19:15 +02:00
parent 94daebd0c5
commit 5468c1833d
4 changed files with 11 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ int sys_unmap(syscall_context_t *regs)
unsigned long npages = regs->r1;
unsigned int tid = regs->r2;
struct ktcb *target;
int ret, retval;
int ret = 0, retval = 0;
if (tid == current->tid)
target = current;