The new buffer is somewhat larger, but there should
be no functional changes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Note that in theory, application might replace its auxv vector with whatever values it wants. So proc_getauxv() does not limit the count to AT_COUNT, but defined somewhat arbitrary PROC_AUXV_MAX limit. You might move this define to some global place and use it instead of AT_COUNT, as a follow-up.
Anyway, this change is already an improvement, since it avoids truncating auxv for normal core dumps.