Searched refs:exec_fd (Results 1 - 4 of 4) sorted by relevance
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | libproc_impl.h | 83 int exec_fd; // file descriptor of exec file member in struct:core_data
|
H A D | ps_core.c | 52 if (ph->core->exec_fd >= 0) 53 close(ph->core->exec_fd); 67 if (fd >= 0 && fd != ph->core->exec_fd) close(fd); 757 if ((phbuf = read_program_header_table(ph->core->exec_fd, exec_ehdr)) == NULL) 767 if (add_map_info(ph, ph->core->exec_fd, exec_php->p_offset, exec_php->p_vaddr, exec_php->p_filesz) == NULL) goto err; 776 pread(ph->core->exec_fd, interp_name, MIN(exec_php->p_filesz, BUF_SIZE), exec_php->p_offset); 964 ph->core->exec_fd = -1; 979 if ((ph->core->exec_fd = open(exec_file, O_RDONLY)) < 0) { 984 if (read_elf_header(ph->core->exec_fd, &exec_ehdr) != true || exec_ehdr.e_type != ET_EXEC) { 998 if (add_lib_info_fd(ph, exec_file, ph->core->exec_fd, [all...] |
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | libproc_impl.h | 81 int exec_fd; // file descriptor of exec file member in struct:core_data
|
H A D | ps_core.c | 52 if (ph->core->exec_fd >= 0) 53 close(ph->core->exec_fd); 67 if (fd >= 0 && fd != ph->core->exec_fd) close(fd); 751 if ((phbuf = read_program_header_table(ph->core->exec_fd, exec_ehdr)) == NULL) 761 if (add_map_info(ph, ph->core->exec_fd, exec_php->p_offset, exec_php->p_vaddr, exec_php->p_filesz) == NULL) goto err; 770 pread(ph->core->exec_fd, interp_name, MIN(exec_php->p_filesz, BUF_SIZE), exec_php->p_offset); 958 ph->core->exec_fd = -1; 973 if ((ph->core->exec_fd = open(exec_file, O_RDONLY)) < 0) { 978 if (read_elf_header(ph->core->exec_fd, &exec_ehdr) != true || exec_ehdr.e_type != ET_EXEC) { 992 if (add_lib_info_fd(ph, exec_file, ph->core->exec_fd, [all...] |
Completed in 27 milliseconds