All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl
Date: Wed, 20 Feb 2019 10:36:25 +0100	[thread overview]
Message-ID: <20190220093625.GA2171@x230> (raw)
In-Reply-To: <20190219221053.458-1-rafael.tinoco@linaro.org>

Hi Rafael,

> Although unsupported, musl enablement is always good to pursue.
> Defining __SIGRTMIN and __SIGRTMAX is needed for musl enablement.

> Signed-off-by: Daniel Diaz <daniel.diaz@linaro.org>
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
> ---
>  include/old/test.h | 7 +++++++
Good catch, thanks :). But could you please create include/lapi/signal.h and add
it there?  (+ load <signal.h> before). And then include it in all 4 missing
places? In this case it can be used also in the future.


Kind regards,
Petr

>  1 file changed, 7 insertions(+)

> diff --git a/include/old/test.h b/include/old/test.h
> index 0738237e9..01b0bd4de 100644
> --- a/include/old/test.h
> +++ b/include/old/test.h
> @@ -50,6 +50,13 @@
>  #define NUMSIGS NSIG
>  #endif

> +#ifndef __SIGRTMIN
> +#define __SIGRTMIN 32
> +#endif
> +
> +#ifndef __SIGRTMAX
> +#define __SIGRTMAX (_NSIG - 1)
> +#endif

>  /* defines for unexpected signal setup routine (set_usig.c) */
>  #define FORK    1		/* SIGCHLD is to be ignored */

      reply	other threads:[~2019-02-20  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 22:10 [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl Rafael David Tinoco
2019-02-20  9:36 ` Petr Vorel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190220093625.GA2171@x230 \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.