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

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

1991/0723/sys/src/9/port/sysproc.c:264,2691991/0724/sys/src/9/port/sysproc.c:264,270 (short | long | prev | next)
1991/0705    
		fdclose(i, CCEXEC); 
1990/0227    
 
1991/0705    
	/* Text.  Shared. Attaches to cache image if possible */ 
1991/0724    
	/* attachimage returns a locked cache image */ 
1991/0705    
	img = attachimage(SG_TEXT|SG_RONLY, tc, UTZERO, (t-UTZERO)>>PGSHIFT); 
	ts = img->s; 
	p->seg[TSEG] = ts; 
1991/0723/sys/src/9/port/sysproc.c:270,2751991/0724/sys/src/9/port/sysproc.c:271,277
1991/0706    
	ts->flushme = 1; 
1991/0705    
	ts->fstart = 0; 
1991/0723    
	ts->flen = sizeof(Exec)+text; 
1991/0724    
	unlock(img); 
1990/0227    
 
1991/0705    
	/* Data. Shared. */ 
	s = newseg(SG_DATA, t, (d-t)>>PGSHIFT); 
1991/0723/sys/src/9/port/sysproc.c:408,4131991/0724/sys/src/9/port/sysproc.c:410,416
1990/0227    
 
1990/11211    
	validaddr(arg[0], ERRLEN, 1); 
1991/0318    
	memmove((char*)arg[0], u->error, ERRLEN); 
1991/0724    
	strncpy(u->error, errstrtab[0], ERRLEN); 
1990/0227    
	return 0; 
} 
 


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