Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp215224lqp; Tue, 11 Jun 2024 02:10:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwesVkxFz7ZSZeC+CNNExLQiBSIc3AS4+9barHcvobt6/3hvFFKfKAToU/RzEeThAnZ0OnXnzwTpXDBOblaidKv71QCn9bQP1FzVWQHg== X-Google-Smtp-Source: AGHT+IHscrMcPDYaJyZOJry6wlY+VKl4sbXDw49BMziYPZJR2LQyx2YjXtB8hqgiHXNoSNq+dLul X-Received: by 2002:a05:6e02:1d90:b0:375:a234:9dc0 with SMTP id e9e14a558f8ab-375a234a17fmr66056185ab.10.1718097015449; Tue, 11 Jun 2024 02:10:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718097015; cv=pass; d=google.com; s=arc-20160816; b=iJSJW/UqVIl4angzloKUBrSp0NbrmhOaPJfchKxmF1r/EBuKU5AmuCM4A8myOKB+ei p/cLIpNYzX5vNACxQGPX0gXzupIHwyItZRHTshL+x4jAg27V/7MqDC1ydnwzwvh6HkAb GcfGURHu3tQEKAkZyt0RaZaQBDALkkJVDgnM0zQiF37ysn7WiUtSNK6zKBtjQZUOWvXN ysG+rUm77munpdG9gwSUE7zWS39qxAMDOS9LNULLQiFGMW2EyVsN5p7uXfQcralTS9xA Tc1Y+PdrldruMoI8q8qcuWGMwJh+gz4U6E0rzdbZ1mJ7jIlYqNBOKzSWmU/4SCDcLda7 nK9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=s5TCdkhuKST4Y5IrNzQOawcuP3bFFJhIabNG0boUTQU=; fh=rJ4wDx8t0kvKpF/5bOhqZc4l5Hl4BdiRaigwOzMcF+I=; b=yfwoYwMsP2BcD6hmH4cwRwgSoK7i/opLMuDRD+F8pTgawXj5kZHYgg7sJXRr4n/xm4 BHn/XZxST2zD+S8qMXr84mgZsMOWA/zEyNipF1NyHx8LYxgC/5uYqTCme5RjujwIfrp7 OyqVKgk4uUJ5pFnp8D1Yk2RhsOlbTq0/c6bER2KFSitDNdLohDkUgFGZi8xwg2G8NRAV Qk1FzZPWD0Xts02mdYfO0gA8QcvDX/tE7vlxGX8jymr9DFB06HvSU/BCx6ZYrQgEu3+/ f62Rho8fjPvNbsF0gXzwF1/5sabwwbfNSa0yXDjZ1fa2AzoR8qateoKPFfE/qynEo7Lq K6WA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-209545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e817731e17si5023801a12.407.2024.06.11.02.10.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 02:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-209545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 28389284FF6 for ; Tue, 11 Jun 2024 09:09:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11626176FB4; Tue, 11 Jun 2024 09:09:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EA0A173321; Tue, 11 Jun 2024 09:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718096945; cv=none; b=i0AVjFu2rTJeJaEs097TYsWPPyFbx0JOP2NLH7Yr4xBi7lAcuRmj7hqbXJqArmNRJNibA7OzqpdjhUUXuwfkV4WHj+b1B4nHFHF/gXxZaa/nc66NZW1I0aE2L9/ZOdKpQYgO/MnaWRBrFNOw+DYhPvEr82VoYIwuRi+5EMuA65Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718096945; c=relaxed/simple; bh=yAc6HPWZ+NS89isZXWw/MGjVBB0xyI1Bb6Q73OYUIj0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gIVeUFG+JP9oMMBO78ti1yxy5VkUkT2e8LrbRX+RtZi8lafgWQn7MdMoW7+Px9T4XILSMneQ9f3Cj09NxPp484wwled7I9iiO4clANWDSKGFUA009/IrWe+DvRO+edk9wPvWTFWo5QoTqpW+e4IASQIiKCyzzcZDXgrYADt0I9w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4183F1424; Tue, 11 Jun 2024 02:09:28 -0700 (PDT) Received: from e116581.blr.arm.com (e116581.arm.com [10.162.41.16]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 57FA63F5A1; Tue, 11 Jun 2024 02:08:59 -0700 (PDT) From: Dev Jain To: alx@kernel.org, linux-man@vger.kernel.org Cc: mingo@kernel.org, tglx@linutronix.de, mark.rutland@arm.com, ryan.roberts@arm.com, broonie@kernel.org, suzuki.poulose@arm.com, Anshuman.Khandual@arm.com, DeepakKumar.Mishra@arm.com, aneesh.kumar@kernel.org, linux-kernel@vger.kernel.org, Dev Jain Subject: [PATCH v2 2/2] signal.7: Fix wrong mention of sigprocmask Date: Tue, 11 Jun 2024 14:38:23 +0530 Message-Id: <20240611090823.820724-3-dev.jain@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240611090823.820724-1-dev.jain@arm.com> References: <20240611090823.820724-1-dev.jain@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The handler is registered with sigaction(), not sigprocmask(). Even if the purpose of writing sigprocmask() here was to mention blocked signals, the statement currently concerns the "addition" of blocked signals; signals blocked through sigprocmask() would already be present in the thread context of blocked signals. Fixes: e7a5700 (getcontext.3, signal.7: tfix) Signed-off-by: Dev Jain --- man/man7/signal.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man7/signal.7 b/man/man7/signal.7 index 7d22a7cfe..57eab7847 100644 --- a/man/man7/signal.7 +++ b/man/man7/signal.7 @@ -293,7 +293,7 @@ contain the mask of new signals blocked through Any signals specified in .I act\->sa_mask when registering the handler with -.BR sigprocmask (2) +.BR sigaction (2) are added to the thread's signal mask. The signal being delivered is also added to the signal mask, unless -- 2.34.1