mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 04:13:16 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user