more per-process stuff

This commit is contained in:
albert
2003-09-29 04:09:52 +00:00
parent 35859fb0a8
commit 71312f1516
7 changed files with 137 additions and 83 deletions

View File

@ -218,8 +218,8 @@ ENTER(0x220);
continue;
case_ShdPnd:
memcpy(P->signal, S, 16);
P->signal[16] = '\0';
memcpy(ShdPnd, S, 16);
// we know it to be 16 char, so no '\0' needed
continue;
case_SigBlk:
memcpy(P->blocked, S, 16);
@ -622,6 +622,8 @@ static proc_t* simple_readtask(PROCTAB *restrict const PT, const proc_t *restric
t->environ = p->environ;
#endif
t->ppid = p->ppid; // ought to put the per-task ppid somewhere
return t;
next_task:
return NULL;