Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c49 validate_basic(pam_handle_t *pamh, char *user_tty, char *timestampfile) in validate_basic() argument
93 (void) snprintf(timestampfile, MAXPATHLEN, "%s/%s/%s:%s", TIMESTAMP_DIR, in validate_basic()
188 char timestampfile[MAXPATHLEN]; in pam_sm_authenticate() local
205 if (validate_basic(pamh, user_tty, timestampfile) != PAM_SUCCESS) in pam_sm_authenticate()
212 (void) strlcpy(timestampdir, timestampfile, MAXPATHLEN); in pam_sm_authenticate()
221 if (lstat(timestampfile, &sb) == 0 && sb.st_size != 0) { in pam_sm_authenticate()
223 (void) unlink(timestampfile); in pam_sm_authenticate()
226 timestampfile); in pam_sm_authenticate()
231 (void) unlink(timestampfile); in pam_sm_authenticate()
234 timestampfile); in pam_sm_authenticate()
[all …]