plan 9 kernel history: overview | file list | diff list

1991/1105/port/sysproc.c (diff list | history)

1991/0926/sys/src/9/port/sysproc.c:14,201991/1105/sys/src/9/port/sysproc.c:14,20 (short | long | prev | next)
1990/0227    
long 
sysr1(ulong *arg) 
{ 
1990/1123    
	print("[%s %s %d] r1 = %d\n", u->p->pgrp->user, u->p->text, u->p->pid, arg[0]); 
1991/1105    
	print("[%s %s %d] r1 = %d\n", u->p->user, u->p->text, u->p->pid, arg[0]); 
1990/0227    
	return 0; 
} 
 
1991/0926/sys/src/9/port/sysproc.c:128,1331991/1105/sys/src/9/port/sysproc.c:128,134
1990/0227    
	memset(p->time, 0, sizeof(p->time)); 
	p->time[TReal] = MACHP(0)->ticks; 
1991/0318    
	memmove(p->text, u->p->text, NAMELEN); 
1991/1105    
	memmove(p->user, u->p->user, NAMELEN); 
1991/0529    
	/* 
	 *  since the bss/data segments are now shareable, 
	 *  any mmu info about this process is now stale 
1991/0926/sys/src/9/port/sysproc.c:288,2961991/1105/sys/src/9/port/sysproc.c:289,294
1990/0227    
 
1991/0318    
	memmove(p->text, elem, NAMELEN); 
1990/0227    
 
1991/0705    
	if(waserror()) 
		pexit("fatal exec error", 0); 
                 
1990/0227    
	/* 
1991/0705    
	 * Committed.  Free old memory. Special segments are maintained accross exec 
1990/0227    
	 */ 
1991/0926/sys/src/9/port/sysproc.c:340,3461991/1105/sys/src/9/port/sysproc.c:338,343
1991/0705    
	relocateseg(s, TSTKTOP-USTKTOP); 
1990/0227    
 
1991/0706    
	close(tc); 
1991/0705    
	poperror(); 
 
1991/0529    
	/* 
1991/0705    
	 *  At this point, the mmu contains info about the old address 
1991/0926/sys/src/9/port/sysproc.c:477,4841991/1105/sys/src/9/port/sysproc.c:474,479
1991/0514    
	mask = arg[0]; 
	if(mask == FPall) 
		mask = FPnote|FPenv|FPnamespc; 
                 
	memmove(pg->user, u->p->pgrp->user, NAMELEN); 
 
	if(mask & FPnamespc) 
1990/0227    
		pgrpcpy(pg, u->p->pgrp); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)