Home
last modified time | relevance | path

Searched refs:shell_tmp (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/usr.sbin/user/
H A Duser.c1462 char *shell_tmp = NULL; in moduser() local
1552 shell_tmp = malloc(strlen(pwp->pw_shell) + sizeof(acctlock_str)); in moduser()
1553 if (shell_tmp == NULL) { in moduser()
1558 strlcpy(shell_tmp, pwp->pw_shell, sizeof(shell_len)); in moduser()
1559 strlcat(shell_tmp, acctlock_str, sizeof(shell_len)); in moduser()
1560 pwp->pw_shell = shell_tmp; in moduser()
1597 shell_tmp = malloc(shell_buf); in moduser()
1598 if (shell_tmp == NULL) { in moduser()
1603 strlcpy(shell_tmp, pwp->pw_shell, shell_buf); in moduser()
1604 pwp->pw_shell = shell_tmp; in moduser()
[all …]