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

1991/1109/port/devcons.c (diff list | history)

1991/1108/sys/src/9/port/devcons.c:18,251991/1109/sys/src/9/port/devcons.c:18,27 (short | long | prev | next)
1991/0607    
IOQ	mouseq; 
KIOQ	kbdq; 
1990/0227    
 
1991/0607    
Ref	raw;		/* whether kbd i/o is raw (rcons is open) */ 
1991/1109    
Ref	raw;			/* whether kbd i/o is raw (rcons is open) */ 
1990/0227    
 
1991/1109    
char	eve[NAMELEN] = "bootes"; 
 
1990/0227    
/* 
1991/0607    
 *  init the queues and set the output routine 
1990/0227    
 */ 
1991/1108/sys/src/9/port/devcons.c:432,4391991/1109/sys/src/9/port/devcons.c:434,440
1991/0607    
	switch(c->qid.path){ 
	case Quser: 
		if(omode==(OWRITE|OTRUNC)){ 
			/* truncate? */ 
1991/1105    
			if(strcmp(u->p->user, "bootes") == 0)	/* BUG */ 
1991/1109    
			if(strcmp(u->p->user, eve) == 0) 
1991/1105    
				u->p->user[0] = 0; 
1991/0607    
			else 
				error(Eperm); 


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