[PATCH v6][makedumpfile 02/10] Implement kernel kallsyms resolving
HAGIO KAZUHITO(萩尾 一仁)
k-hagio-ab at nec.com
Sun Jun 21 22:18:40 PDT 2026
On 2026/06/18 17:50, Tao Liu wrote:
> Hi Kazu,
>
> Yes, it is needed for reallocarray() in kallsyms.c. For "man
> reallocarray" gives:
>
> reallocarray():
> Since glibc 2.29:
> _DEFAULT_SOURCE
> glibc 2.28 and earlier:
> _GNU_SOURCE
>
> For glibc <= 2.28, we need to use _GNU_SOURCE in order to use
> reallocarray(). E.g I can encounter the compiling warning in rhel8
> once removed.
Thanks for the info. so let's keep it.
Thanks,
Kazu
More information about the kexec
mailing list