Page MenuHomeFreeBSD

Possible copyout_strings cleanup

Authored By
jhb
Apr 13 2018, 8:58 PM
Size
380 B
Referenced Files
None
Subscribers
None

Possible copyout_strings cleanup

vectp = (char **)destp;
if (imgp->auxargs) {
/*
* Allocate room on the stack for the ELF auxargs
* array. It has up to AT_COUNT entries each of which
* contains 2 pointers.
*/
vectp -= AT_COUNT * 2;
}
/*
* Allocate room for the argv[] and env vectors including the
* terminating NULL pointers.
*/
vectp -= imgp->args->argc + 1 + imgp->args->envc + 1;

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1343271
Default Alt Text
Possible copyout_strings cleanup (380 B)

Event Timeline