mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 16:38:36 +00:00
Update comments
This commit is contained in:
parent
b5e3ce6c03
commit
f9ce546beb
@ -602,10 +602,11 @@ static uintptr_t calc_prelinked_load_address(struct ps_prochandle* ph, int lib_f
|
||||
return load_addr;
|
||||
}
|
||||
|
||||
// Override vDSO path to kernel directory (/lib/modules/<version>/vdso) if possible.
|
||||
// Then lib_name would be overwritten that path.
|
||||
// Otherwise copy vDSO memory in coredump to temporal memory generated by memfd_create().
|
||||
// Returns FD for vDSO (should be closed by caller).
|
||||
// Check for vDSO binary in kernel directory (/lib/modules//vdso),
|
||||
// rewrite the given lib_name string if found.
|
||||
// Otherwise copy vDSO memory in coredump to temporal memory generated by
|
||||
// memfd_create().
|
||||
// Returns FD for vDSO (should be closed by caller), or -1 on error.
|
||||
static int handle_vdso(struct ps_prochandle* ph, char* lib_name, size_t lib_name_len) {
|
||||
int lib_fd;
|
||||
struct utsname uts;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user