Changeset 317 for trunk/src/sh_suidchk.c
- Timestamp:
- Mar 15, 2011, 8:54:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_suidchk.c
r257 r317 193 193 /* Recursively descend into the directory to make sure that 194 194 * there is no symlink in the path. 195 * 196 * Use retry_lstat_ns() here because we cannot chdir the subprocess 197 * that does the lstat(). 195 198 */ 196 199 static int do_truncate_int (char * path, int depth) … … 226 229 { 227 230 *q = '\0'; 228 if (0 != retry_lstat (FIL__, __LINE__, path, &one))231 if (0 != retry_lstat_ns(FIL__, __LINE__, path, &one)) 229 232 { 230 233 SH_MUTEX_LOCK(mutex_thread_nolog); … … 260 263 } 261 264 *q = '/'; 262 if (0 != retry_lstat (FIL__, __LINE__, ".", &two))265 if (0 != retry_lstat_ns(FIL__, __LINE__, ".", &two)) 263 266 { 264 267 sh_error_handle ((-1), FIL__, __LINE__, errno, … … 288 291 if (*path == '\0') 289 292 return -1; 290 if (0 != retry_lstat (FIL__, __LINE__, path, &one))293 if (0 != retry_lstat_ns(FIL__, __LINE__, path, &one)) 291 294 { 292 295 SH_MUTEX_LOCK(mutex_thread_nolog);
Note:
See TracChangeset
for help on using the changeset viewer.