]> git.ipfire.org Git - thirdparty/glibc.git/commit
support: Make support_process_state_wait return the found state
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 13 Sep 2024 14:10:05 +0000 (11:10 -0300)
committerSam James <sam@gentoo.org>
Thu, 12 Dec 2024 04:14:45 +0000 (04:14 +0000)
commit846e64257e5fc9b5b723c2eec2b7155ab5944d1f
treeb58e7e4ea56f5f5ac700bd466db0deb293020a80
parentc6cdab1e01bc11bc4036dc5b1be6086f6259c123
support: Make support_process_state_wait return the found state

So caller can check which state was found if multiple ones are
asked.

Checked on x86_64-linux-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 38316352e0f742f3a2b5816a61a4b603cb5573f8)
(cherry picked from commit 2e38c5a090b3a54040b6e508d42e5a76e492c6e8)
support/process_state.h
support/support_process_state.c
support/tst-support-process_state.c