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

1995/0110/port/auth.c (diff list | history)

1995/0106/sys/src/9/port/auth.c:124,1331995/0110/sys/src/9/port/auth.c:124,131 (short | long | prev | next)
1993/0731    
	unlock(c); 
1993/0407    
 
1993/0731    
	/* back off if someone else is doing an fsession */ 
1995/0106    
	while(!canlock(&s->send)) { 
		up->yield = 1; 
1995/0110    
	while(!canlock(&s->send)) 
1993/0731    
		sched(); 
1995/0106    
	} 
1993/0731    
 
	if(s->valid == 0){ 
1993/0407    
		/* 
1995/0106/sys/src/9/port/auth.c:575,5811995/0110/sys/src/9/port/auth.c:573,579
1993/0330    
		error(Eperm); 
1993/0501    
	memset(up->user, 0, NAMELEN); 
	strcpy(up->user, "none"); 
1995/0102    
	up->nice = NiceNormal; 
1995/0110    
	up->basepri = PriNormal; 
1993/0330    
	return n; 
} 
 
1995/0106/sys/src/9/port/auth.c:600,6061995/0110/sys/src/9/port/auth.c:598,604
1994/1027    
	renameuser(eve, buf); 
1993/0330    
	memmove(eve, buf, NAMELEN); 
1993/0501    
	memmove(up->user, buf, NAMELEN); 
1995/0102    
	up->nice = NiceNormal; 
1995/0110    
	up->basepri = PriNormal; 
1993/0330    
	return n; 
} 
 


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