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

Diff for /src/usr.bin/ssh/sshpty.c between version 1.33 and 1.34

version 1.33, 2019/07/04 16:16:51 version 1.34, 2019/07/04 16:20:10
Line 141 
Line 141 
   
         /* Determine the group to make the owner of the tty. */          /* Determine the group to make the owner of the tty. */
         grp = getgrnam("tty");          grp = getgrnam("tty");
           if (grp == NULL)
                   fatal("no tty group");
         gid = (grp != NULL) ? grp->gr_gid : pw->pw_gid;          gid = (grp != NULL) ? grp->gr_gid : pw->pw_gid;
         mode = (grp != NULL) ? 0620 : 0600;          mode = (grp != NULL) ? 0620 : 0600;
   

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34