Searched refs:kb_path (Results 1 - 3 of 3) sorted by relevance
/macosx-10.9.5/Security-55471.14.18/utilities/src/ |
H A D | SecFileLocations.c | 111 char kb_path[PATH_MAX] = {}; local 112 snprintf(kb_path, sizeof(kb_path), "%s", keychainBasePath); 113 if (lstat(kb_path, &st_info) == 0) { 117 secerror("invalid directory at '%s' moving aside", kb_path); 118 snprintf(new_path, sizeof(new_path), "%s-invalid", kb_path); 120 if (rename(kb_path, new_path) != 0) { 121 secerror("failed to rename file: %s (%s)", kb_path, strerror(errno)); 127 require_action(mkpath_np(kb_path, 0700) == 0, done, secerror("could not create path: %s (%s)", kb_path, strerro [all...] |
/macosx-10.9.5/Security-55471.14.18/utilities/utilities/ |
H A D | SecFileLocations.c | 111 char kb_path[PATH_MAX] = {}; local 112 snprintf(kb_path, sizeof(kb_path), "%s", keychainBasePath); 113 if (lstat(kb_path, &st_info) == 0) { 117 secerror("invalid directory at '%s' moving aside", kb_path); 118 snprintf(new_path, sizeof(new_path), "%s-invalid", kb_path); 120 if (rename(kb_path, new_path) != 0) { 121 secerror("failed to rename file: %s (%s)", kb_path, strerror(errno)); 127 require_action(mkpath_np(kb_path, 0700) == 0, done, secerror("could not create path: %s (%s)", kb_path, strerro [all...] |
/macosx-10.9.5/securityd-55199.3/securityd_service/securityd_service/ |
H A D | main.c | 194 char kb_path[PATH_MAX] = {}; local 195 snprintf(kb_path, sizeof(kb_path), "%s/%s/%s", ur->home, kb_home_path, get_host_uuid()); 196 if (lstat(kb_path, &st_info) == 0) { 200 syslog(LOG_ERR, "invalid directory at '%s' moving aside", kb_path); 201 snprintf(new_path, sizeof(new_path), "%s-invalid", kb_path); 203 if (rename(kb_path, new_path) != 0) { 204 syslog(LOG_ERR, "failed to rename file: %s (%s)", kb_path, strerror(errno)); 210 require_action(mkpath_np(kb_path, 0700) == 0, done, syslog(LOG_ERR, "could not create path: %s (%s)", kb_path, strerro [all...] |
Completed in 403 milliseconds