cred: setting and getting ids

This commit is contained in:
Matheus
2024-08-16 20:02:12 -03:00
parent 8045dd3de6
commit da9c40b054
13 changed files with 256 additions and 63 deletions
+1
View File
@@ -44,6 +44,7 @@ syscallret_t syscall_fork(context_t *ctx) {
MUTEX_RELEASE(&proc->mutex);
nproc->umask = _cpu()->thread->proc->umask;
nproc->cred = _cpu()->thread->proc->cred;
nproc->root = sched_getroot();
nproc->cwd = sched_getcwd();
nproc->threadlist = nthread;