From patchwork Tue Feb 19 22:10:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael David Tinoco X-Patchwork-Id: 158742 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4191756jaa; Tue, 19 Feb 2019 14:11:05 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia7Ufc35/9bsVIzZnvWUnoYEMK7JbVfB7JaPZ3HjS+NWVjOfjO6Ldon9X16SsDT+dw6byaG X-Received: by 2002:a17:906:b2c1:: with SMTP id cf1mr21569984ejb.245.1550614265066; Tue, 19 Feb 2019 14:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550614265; cv=none; d=google.com; s=arc-20160816; b=SvXpuV+AgCmbstdjvApkXkNlQ1WvkDRd8cM8eS2fUSkNSyxXyAhlOh/6oYPp1k66rT V0w/Cvx85/LU1F4DJmgzx9SrgI3ESpPN/LP33vVQYx2Bvm5WH0AQCDXeDxUzfpQrwtU6 0qlwrYZ2v2Jb7/gbeJ02pu2hrSuLCMfyKr33IG4y9dhQhnMJo2LXZdYS2hJGJlf8zi9s YYqwL1iv3iWUzkGZYCDqgGxVcqtkZuY3q4e1Hp8UIQMIkmnKog8guTjtC1NVi5z5iskk J5S+X2f6HpPsy/S/WZyX17F2ubcljkQ/AIFVSBWiZ9lqaTWirJ+iro93oeFh8ORJVG/f MJZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=+51TbZ/LgBuwtX0uYpucbDAaOhQkQxSzersY8pNJZQY=; b=ltbfXG6CIsKHv6x1nrszC/muebomLmLK5t1iF2Ir4YDq/sTTMQlRUe3+5sNoSdCzvV DuhDjnq0wPecROG5NeoIcB7TzRPSiJnL40drdcZTBR5Gk3FcgyjtPFIIXKuDeh0k3KUi v8IweiiQl7oYarehipkYUax9i+DV9pnhjo6R2TeDQsg+AEnF9zmYqcoggrY5d5CRVPtN S6aBqnZcYTKwq+eUU0BOmUB0mNv23BYSRCqfbRt4bKIkLGSh0ckJOmA0usuJ9ETBgg4Y wIKyBVO3aY24+veJen4iRGGu2snJnrENHpsrjRlteUw95v5KL5SAoOUEeudHR9KwAzuu FQmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qu7iBfVn; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from picard.linux.it (picard.linux.it. [213.254.12.146]) by mx.google.com with ESMTPS id v4si889642ejx.12.2019.02.19.14.11.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 14:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) client-ip=213.254.12.146; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=qu7iBfVn; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 99E413EA405 for ; Tue, 19 Feb 2019 23:11:04 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) by picard.linux.it (Postfix) with ESMTP id 0994A3EA132 for ; Tue, 19 Feb 2019 23:11:00 +0100 (CET) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 386141401AA9 for ; Tue, 19 Feb 2019 23:10:59 +0100 (CET) Received: by mail-qt1-x841.google.com with SMTP id y4so25058197qtc.10 for ; Tue, 19 Feb 2019 14:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lh8WblbbGluyBBEnKzcVkXyPZ7crZf6fNy9REo3wGD8=; b=qu7iBfVnzHmz6AkPcOuptipbTl6ersK4qsSHGmJR53LLt7SxbtCsBZhphLXVLvRW/D DTINHXYjwVJFzwE9asQFGTxbw8/cA6ovZ2IhRxSvK9SdT17vHCOb/SuFH+8ASKfHCd7m nry4AJryZQt6Bc7ChneToZe+bztk5DZRIPtcMy6/qEg2JrHcYO0BU5tcg6m5q0AFavw6 Fh3iuvkCUao6B70GhfPuf39vQWaKvWbLzsv1gSQ+Porb7dC3c1YN7bq7yku30D5rOO16 uIy/l/11gkwgZXhFMWWfXQagOkQ+cCRkGH0egskqiVINgLmcDu15JR2KwAAJvnFaZT/j wdRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lh8WblbbGluyBBEnKzcVkXyPZ7crZf6fNy9REo3wGD8=; b=BVnULnDzk4UJuwVcLc2NvvwwpUkyXcB9aq1JI6M4Iv1P1wEVNh5XecDKp4qzbkUCwF ofbEexrNcsdCmips8kGFRFl4813aW2aj03to0JBh8gwuwGwBVsYWescvPU/+szLyWjP1 gXXE3Oil9kCZCHLgM+2200Pxw6RZgjbXnTeh+04j5SKEJuHmrddyUqXlZBDq1XZu7jCi gDh3vBdEv5n0by69t9XvmP7JZUJWQENScI0iIbjYgd35N6I0ENeXEQw4Qw5It4oVVzng tuPoBWbwUtI6Y1l9sl4jGBZ+P3MKJlnxOIA7rLznDYG3jcjMMVrQhimJc8Nw5gn3UgYT p5OA== X-Gm-Message-State: AHQUAubS3xUQ9zeg5nxzhP7iK/IDMTM31GIod8w6T7RW4d/EhGlI/vd1 uCA74g2MyFRdEKCFMaeLlOxkP0WpiHl4pw== X-Received: by 2002:ac8:2ca1:: with SMTP id 30mr25097509qtw.245.1550614257850; Tue, 19 Feb 2019 14:10:57 -0800 (PST) Received: from workstation.celeiro.br. ([2804:14c:8782:8061:32b5:c2ff:fe04:ac0]) by smtp.gmail.com with ESMTPSA id f126sm14200324qka.14.2019.02.19.14.10.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 14:10:57 -0800 (PST) From: Rafael David Tinoco To: ltp@lists.linux.it Date: Tue, 19 Feb 2019 19:10:53 -0300 Message-Id: <20190219221053.458-1-rafael.tinoco@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-6.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-6.smtp.seeweb.it Cc: daniel.diaz@linaro.org Subject: [LTP] [PATCH] Define SIGRTMIN and SIGRTMAX for musl X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+patch=linaro.org@lists.linux.it Sender: "ltp" Although unsupported, musl enablement is always good to pursue. Defining __SIGRTMIN and __SIGRTMAX is needed for musl enablement. Signed-off-by: Daniel Diaz Signed-off-by: Rafael David Tinoco --- include/old/test.h | 7 +++++++ 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 */