add AT_PAGESZ to auxvec
This commit is contained in:
@ -1184,6 +1184,8 @@ int init_process_stack(struct process *process, struct program_load_desc *pn,
|
||||
p[s_ind--] = AT_PHENT;
|
||||
p[s_ind--] = pn->at_phdr; /* AT_PHDR */
|
||||
p[s_ind--] = AT_PHDR;
|
||||
p[s_ind--] = 4096; /* AT_PAGESZ */
|
||||
p[s_ind--] = AT_PAGESZ;
|
||||
p[s_ind--] = 0; /* envp terminating NULL */
|
||||
/* envp */
|
||||
for (arg_ind = envc - 1; arg_ind > -1; --arg_ind) {
|
||||
|
||||
Reference in New Issue
Block a user