[LTP] [PATCH 1/3] rt_tgsigqueueinfo01: Use siginfo_t portable members

Jan Stancek jstancek@redhat.com
Mon Dec 2 07:18:35 CET 2024


On Fri, Nov 15, 2024 at 12:48 AM Petr Vorel <petr.vorel@gmail.com> wrote:
>
> POSIX API for siginfo_t expect simple struct members (see man
> sigaction(2)). Most of the implementations (including glibc, uclibc,
> musl, bionic) combine many fields into union due optimisation. To
> achieve POSIX API compatibility implementations provide definitions
> to access members.
>
> Depending on glibc/uclibc specific internal implementation was wrong.
> eea3ba496b attempt to add bionic support. To get musl (or whatever libc)
> support do what should have been done from the beginning: use portable
> members.
>
> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

Acked-by: Jan Stancek <jstancek@redhat.com>



More information about the ltp mailing list