Searched refs:fdnew (Results 1 – 2 of 2) sorted by relevance
/external/elfutils/tests/ |
D | elfstrmerge.c | 42 static int fdnew = -1; variable 77 if (fdnew != -1) in release() 81 close (fdnew); in release() 364 fdnew = mkstemp (fnew); in main() 369 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in main() 372 if (fdnew < 0) in main() 375 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in main() 653 if (fchmod (fdnew, st.st_mode & ALLPERMS) != 0) in main() 655 if (fchown (fdnew, st.st_uid, st.st_gid) != 0) in main() 664 close (fdnew); in main() [all …]
|
/external/elfutils/src/ |
D | elfcompress.c | 260 int fdnew = -1; in process_file() local 298 close (fdnew); in process_file() 543 fdnew = mkstemp (fnew); in process_file() 548 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in process_file() 551 if (fdnew < 0) in process_file() 560 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in process_file() 1238 if (fchmod (fdnew, st.st_mode & ALLPERMS) != 0) in process_file() 1241 if (fchown (fdnew, st.st_uid, st.st_gid) != 0) in process_file()
|