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

1992/0111/port/devcons.c (diff list | history)

1991/1224/sys/src/9/port/devcons.c:4,101992/0111/sys/src/9/port/devcons.c:4,10 (short | long | prev | next)
Move error.h to ../port. Change errors to actual strings.
rsc Fri Mar 4 12:44:25 2005
1990/0227    
#include	"dat.h" 
#include	"fns.h" 
#include	"io.h" 
#include	"errno.h" 
1992/0111    
#include	"../port/error.h" 
1990/0227    
 
#include	"devtab.h" 
 
1991/1224/sys/src/9/port/devcons.c:818,8241992/0111/sys/src/9/port/devcons.c:818,824
1991/1127    
			error(Ebadarg); 
		decrypt(evekey, a, n); 
		if(memcmp(u->p->pgrp->crypt->chal, a, 8) != 0) 
			errors("authentication failure"); 
1992/0111    
			error(Eauth); 
1991/1127    
		strncpy(u->p->user, a+8, NAMELEN); 
		u->p->user[NAMELEN-1] = '\0'; 
1991/1207    
		memmove(u->p->pgrp->crypt->key, a+NAMELEN+DESKEYLEN, DESKEYLEN); 


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