Added code for generating core image.

modified:   arch/x86/kernel/gencore.c
	modified:   arch/x86/kernel/include/elfcore.h
	modified:   kernel/include/process.h
	modified:   kernel/process.c
This commit is contained in:
Naoki Hamada
2014-07-10 15:55:35 +09:00
parent 0d7d1ebbd5
commit 1d45444d54
4 changed files with 219 additions and 45 deletions

View File

@ -86,6 +86,8 @@
#include <futex.h>
#include <rlimit.h>
#define AUXV_LEN 12
struct vm_range {
struct list_head list;
unsigned long start, end;
@ -184,6 +186,7 @@ struct process {
void *pgio_arg;
struct fork_tree_node *ftn;
unsigned long saved_auxv[AUXV_LEN];
};
struct process_vm {