| plan 9 kernel history: overview | file list | diff list |
1992/0307/port/sysproc.c (diff list | history)
| 1992/0131/sys/src/9/port/sysproc.c:56,62 – 1992/0307/sys/src/9/port/sysproc.c:56,62 (short | long | prev | next) | ||
| 1991/1110 | /* Save time: only copy u-> data and useful stack */ | |
| 1991/0318 | memmove((void*)upa, u, sizeof(User)); | |
| 1990/0227 | n = USERADDR+BY2PG - (ulong)&lastvar; | |
| 1992/0307 | n = (n+32) & ~(BY2WD-1); | |
| 1991/0318 | memmove((void*)(upa+BY2PG-n), (void*)(USERADDR+BY2PG-n), n); | |
| 1990/0227 | ((User *)upa)->p = p; | |
| 1990/0614 | kunmap(k); | |
| 1992/0131/sys/src/9/port/sysproc.c:67,73 – 1992/0307/sys/src/9/port/sysproc.c:67,73 | ||
| 1991/0705 | p->seg[i] = dupseg(u->p->seg[i]); | |
| 1991/1110 | /* Refs */ | |
| 1991/0705 |
| |
| 1992/0307 | incref(u->dot); /* File descriptors etc. */ | |
| 1991/0705 | ||
| 1991/0807 | if(flag & Forkfd) p->fgrp = dupfgrp(u->p->fgrp); | |
| 1992/0131/sys/src/9/port/sysproc.c:97,111 – 1992/0307/sys/src/9/port/sysproc.c:97,106 | ||
| 1991/1110 | p->hang = u->p->hang; p->procmode = u->p->procmode; | |
| 1990/0227 |
| |
| 1991/0919 | /* | |
| 1992/0307 | * use u->p instead of p, because we don't trust the compiler, after a * gotolabel, to find the correct contents of a local variable. | |
| 1991/0919 | */ p = u->p; | |
| 1990/0227 | p->state = Running; | |