Fixed bug in PM that caused update program not to be scheduled, so that

sync was not periodically run. Chain of timers was accidentially broken.

Kernel sends SIGKSTOP signal on shutdown. FS calls sync to clean up.
This commit is contained in:
Jorrit Herder
2005-07-20 15:27:42 +00:00
parent c0718054e9
commit f1153541c7
7 changed files with 39 additions and 37 deletions

View File

@@ -322,7 +322,7 @@ PUBLIC void privileges_dmp()
return;
}
printf("\n--nr-id-name---- -sanity- -flags- -sc-\n");
printf("\n--nr-id-name--- -flags- -sc-\n");
for (rp = oldrp; rp < END_PROC_ADDR; rp++) {
if (isemptyp(rp)) continue;
@@ -333,8 +333,8 @@ PUBLIC void privileges_dmp()
r = -1;
for (sp = &priv[0]; sp < &priv[NR_SYS_PROCS]; sp++)
if (sp->s_proc_nr == rp->p_nr) { r ++; break; }
if (r == -1) {
printf("... warning, no privileges found!\n");
if (r == -1 && ! (rp->p_rts_flags & SLOT_FREE)) {
printf("... no privileges found, probaly a user process\n");
continue;
}
printf("(%02u) %-7.7s %3x %02.2u",