[BACK]Return to login.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / login

Diff for /src/usr.bin/login/login.c between version 1.64 and 1.65

version 1.64, 2015/03/15 00:41:28 version 1.65, 2015/10/26 15:29:17
Line 324 
Line 324 
         (void)signal(SIGHUP, SIG_IGN);          (void)signal(SIGHUP, SIG_IGN);
         (void)setpriority(PRIO_PROCESS, 0, 0);          (void)setpriority(PRIO_PROCESS, 0, 0);
   
 #ifdef notyet  
         /* XXX - we don't (yet) support per-tty auth stuff */  
         /* BSDi uses a ttys.conf file but we could just overload /etc/ttys */  
         /*  
          * Classify the attempt.  
          * By default we use the value in the ttys file.  
          * If there is a classify script we run that as  
          *  
          *      classify [-f] [username]  
          */  
         if (type = getttyauth(tty))  
                 auth_setoption(as, "auth_type", type);  
 #endif  
   
         /* get the default login class */          /* get the default login class */
         if ((lc = login_getclass(0)) == NULL) { /* get the default class */          if ((lc = login_getclass(0)) == NULL) { /* get the default class */
                 warnx("Failure to retrieve default class");                  warnx("Failure to retrieve default class");

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65