Age | Commit message (Collapse) | Author |
|
* exec/elfcore.c (dump_core): Use procinfo_t, which is already a
pointer, instead of procinfo_t*.
|
|
The deallocation also needs to be fixed.
Also, fetch_procinfo already took care of the conversion.
* exec/elfcore.c (dump_core): Fix procinfoCnt taken from
proc_getprocinfo.
* utils/login.c (check_owned): Likewise.
* libps/procstat.c (merge_procinfo): Remove conversion between bytes and
int, already handled by fetch_procinfo.
|
|
The procinfoCnt argument is the number of elements of the procinfo_t array,
not its size in bytes.
* exec/elfcore.c (dump_core): Fix procinfoCnt given to proc_getprocinfo.
* libps/procstat.c (merge_procinfo): Likewise.
* utils/login.c (check_owned): Likewise.
|
|
* exec/elfcore.c (fetch_thread_regset): Fix field shifting order to avoid
losing register content.
|
|
|
|
casting `time_value *' into `struct timeval *'.
(dump_core): Reimplement timeradd instead of casting `time_value *'
into `struct timeval *'.
|
|
* elfcore.c (dump_core): Include null terminator in note name size,
and round up to four byte alignment.
(dump_core: write_note): Don't round OFFSET after each partial write.
(dump_core): Don't round up to page size before writing notes.
Do round up to page size for offset of each PT_LOAD region.
|
|
* elfcore.c [i386_THREAD_STATE] (fetch_thread_regset): The two types
are not actually identical, must rearrange some members a little.
|
|
* elfcore.c (dump_core): int -> size_t
|
|
* elfcore.c [ALPHA_THREAD_STATE]
(ELF_MACHINE, fetch_thread_regset, fetch_thread_fpregset):
New definitions for Alpha CPU.
|
|
* elfcore.c: New file, used by crash server (../trans) to write
ELF core dump files. Thanks to Jon Arney <jarney1@cox.net> for
spurring me to write this, and for helping to test and debug it.
|
|
|
|
|
|
|
|
|
|
* core.c (core_dump_task): Use munmap instead of vm_deallocate,
when it's from our own task.
* elfcore.c: Likewise.
* exec.c (load_section): Likewise.
(map): Likewise.
(close_exec_stream): Likewise.
(finish_mapping): Likewise.
(load): Likewise.
(do_exec): Likewise.
(S_exec_setexecdata): Likewise.
* hashexec.c (check_hashbang): Likewise.
* main.c (deadboot): Likewise.
|
|
|