[lttng-dev] [PATCH userspace-rcu] use a filled signal mask to disable all signals

Brosseau, Yannick yannick.brosseau at gmail.com
Fri May 10 07:57:25 EDT 2013


On Fri, May 10, 2013 at 7:38 AM, Mathieu Desnoyers <
mathieu.desnoyers at efficios.com> wrote:

> Hi Dave,
>
> Nice catch ! I've reworked the patch to also fix compat_arch_x86.c and
> use SIG_BLOCK at those sites (details in changelog). Here is the version
> I plan to merge into userspace rcu. Thanks for spotting this!
>
> Mathieu
>
> commit 6ed4b2e64c6cef5d6d1a1c1943f29dbf4edf026a
> Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> Date:   Fri May 10 07:30:18 2013 -0400
>     Updates by Mathieu Desnoyers:
>
>     - Use SIG_BLOCK instead of SIG_SETMASK when setting a filled mask. This
>       has the same behavior in this case (since we're blocking all
> signals),
>       but is semantically neater: if we ever some signals from that mask,
>

if we ever what? Looks like a missing word in this changelog.


>       we'd like to to a union with the signal mask already blocked by the
>       application.
>     - Also fix incorrect signal masking in compat_arch_x86.c.
>
>     Reported-by: David Pelton <dpelton at ciena.com>
>     Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130510/2f55c5b2/attachment-0001.html>


More information about the lttng-dev mailing list