Searched refs:newshell (Results 1 – 1 of 1) sorted by relevance
570 static char newshell[STRSIZE]; in validloginshell() local607 strncpy(newshell, arg, sizeof (newshell) - 1); in validloginshell()608 newshell[sizeof (newshell) - 1] = 0; in validloginshell()619 if (newshell[0] == '/') { in validloginshell()628 if (strcmp(newshell, cp) == 0) in validloginshell()633 if (!privileged || newshell[0] != '/') { in validloginshell()636 newshell); in validloginshell()640 valid = newshell; in validloginshell()649 strncpy(newshell, valid, sizeof (newshell)); in validloginshell()650 pw_shell = newshell; in validloginshell()