Re: [Openvpn-devel] [PATCH v2 5/5] Improve signal handling using POSIX sigaction

2023-01-23 Thread Frank Lichtenheld
On Fri, Jan 20, 2023 at 03:44:21PM -0500, Selva Nair wrote: > On Sun, Jan 8, 2023 at 2:27 PM Gert Doering wrote: > > > Hi, > > > > On Mon, Jan 02, 2023 at 02:43:22PM -0500, selva.n...@gmail.com wrote: > > > From: Selva Nair > > > > > > Currently we use the old signal API which follows system-V o

Re: [Openvpn-devel] [PATCH v2 5/5] Improve signal handling using POSIX sigaction

2023-01-20 Thread Selva Nair
On Sun, Jan 8, 2023 at 2:27 PM Gert Doering wrote: > Hi, > > On Mon, Jan 02, 2023 at 02:43:22PM -0500, selva.n...@gmail.com wrote: > > From: Selva Nair > > > > Currently we use the old signal API which follows system-V or > > BSD semantics depending on the platform and/or feature-set macros. > >

Re: [Openvpn-devel] [PATCH v2 5/5] Improve signal handling using POSIX sigaction

2023-01-08 Thread Gert Doering
Hi, On Mon, Jan 02, 2023 at 02:43:22PM -0500, selva.n...@gmail.com wrote: > From: Selva Nair > > Currently we use the old signal API which follows system-V or > BSD semantics depending on the platform and/or feature-set macros. > Further, signal has many weaknesses which makes proper masking > (

[Openvpn-devel] [PATCH v2 5/5] Improve signal handling using POSIX sigaction

2023-01-02 Thread selva . nair
From: Selva Nair Currently we use the old signal API which follows system-V or BSD semantics depending on the platform and/or feature-set macros. Further, signal has many weaknesses which makes proper masking (blocking) of signals during update not possible. Improve this: - Use sigaction to pro