relocate a program interpreter to the map_start

This commit makes a system call that dereferences a NULL pointer fail.
This commit is contained in:
NAKAMURA Gou
2014-01-14 15:23:15 +09:00
parent 6992b829a0
commit c421965542
4 changed files with 33 additions and 3 deletions

View File

@ -122,6 +122,7 @@ struct program_load_desc {
unsigned long envs_len;
unsigned long rlimit_stack_cur;
unsigned long rlimit_stack_max;
unsigned long interp_align;
struct program_image_section sections[0];
};