Lines Matching refs:pathname
109 char * tsrm_win32_get_path_sid_key(const char *pathname) in tsrm_win32_get_path_sid_key() argument
116 pathname_len = strlen(pathname); in tsrm_win32_get_path_sid_key()
123 memcpy(bucket_key, pathname, pathname_len); in tsrm_win32_get_path_sid_key()
140 memcpy(bucket_key + ptc_sid_len, pathname, pathname_len + 1); in tsrm_win32_get_path_sid_key()
197 TSRM_API int tsrm_win32_access(const char *pathname, int mode) in tsrm_win32_access() argument
216 return GetBinaryType(pathname, &type) ? 0 : -1; in tsrm_win32_access()
218 if(!IS_ABSOLUTE_PATH(pathname, strlen(pathname)+1)) { in tsrm_win32_access()
220 if(tsrm_realpath(pathname, real_path) == NULL) { in tsrm_win32_access()
223 pathname = real_path; in tsrm_win32_access()
226 if(access(pathname, mode)) { in tsrm_win32_access()
284 bucket = realpath_cache_lookup(pathname, (int)strlen(pathname), t); in tsrm_win32_access()
289 if(tsrm_realpath(pathname, real_path) != NULL) { in tsrm_win32_access()
290 pathname = real_path; in tsrm_win32_access()
291 bucket = realpath_cache_lookup(pathname, (int)strlen(pathname), t); in tsrm_win32_access()
328 if(GetFileSecurity(pathname, sec_info, NULL, 0, &sec_desc_length)) { in tsrm_win32_access()
334 …!GetFileSecurity(pathname, sec_info, (PSECURITY_DESCRIPTOR)psec_desc, sec_desc_length, &sec_desc_l… in tsrm_win32_access()