Re: [PATCH v2 18/39] tests/qtest: libqtest: Install signal handler via signal()

2022-09-23 Thread Thomas Huth
On 22/09/2022 21.55, Marc-André Lureau wrote: Hi On Tue, Sep 20, 2022 at 2:32 PM Bin Meng > wrote: From: Bin Meng mailto:bin.m...@windriver.com>> At present the codes uses sigaction() to install signal handler with a flag SA_RESETHAND. Such usage can be

Re: [PATCH v2 18/39] tests/qtest: libqtest: Install signal handler via signal()

2022-09-22 Thread Marc-André Lureau
Hi On Tue, Sep 20, 2022 at 2:32 PM Bin Meng wrote: > From: Bin Meng > > At present the codes uses sigaction() to install signal handler with > a flag SA_RESETHAND. Such usage can be covered by the signal() API > that is a simplified interface to the general sigaction() facility. > > Update to

[PATCH v2 18/39] tests/qtest: libqtest: Install signal handler via signal()

2022-09-20 Thread Bin Meng
From: Bin Meng At present the codes uses sigaction() to install signal handler with a flag SA_RESETHAND. Such usage can be covered by the signal() API that is a simplified interface to the general sigaction() facility. Update to use signal() to install the signal handler, as it is available on