Searched refs:statbuf (Results 1 – 1 of 1) sorted by relevance
/elf/ |
A D | readlib.c | 80 struct stat64 statbuf; in process_file() local 100 if (fstat64 (fileno (file), &statbuf) < 0) in process_file() 109 if ((size_t) statbuf.st_size < sizeof (struct exec) in process_file() 110 || (size_t) statbuf.st_size < sizeof (ElfW(Ehdr))) in process_file() 112 if (statbuf.st_size == 0) in process_file() 117 size_t n = MIN (statbuf.st_size, SELFMAG); in process_file() 125 file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED, in process_file() 164 size_t len = MIN (statbuf.st_size, 512); in process_file() 176 soname, file_contents, statbuf.st_size)) in process_file() 181 munmap (file_contents, statbuf.st_size); in process_file() [all …]
|
Completed in 3 milliseconds