/*
* If we have a valid auxargs ptr, prepare some room
* on the stack.
*/
vectp = (char **)destp;
if (imgp->auxargs) {
/*
* The ELF auxargs array has up to AT_COUNT entries each
* of which contains 2 pointers.
*/
vectp -= AT_COUNT * 2;
}
/*
* The '+ 2' is for the null pointers at the end of each of
* the arg and env vector sets.
*/
vectp -= imgp->args->argc + imgp->args->envc + 2;