Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1003675lqt; Fri, 7 Jun 2024 05:35:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXasG965suR2aUI93ttu4cAFwxaYzHJKWmNkCnaAMIcbEukG91W0EL5PrsAt2g7QpwtTUkR5ypcHSBBRUkPICdqEQk7/Jk9YS/BTMZVvA== X-Google-Smtp-Source: AGHT+IHttn+ftUP28v3+cw2lSCW8M/GIuJCi2l/ZVsDLZ9wd/baPftf9c35nTfyKBljkIYVuToTw X-Received: by 2002:a17:90a:4b06:b0:2c2:a07c:f520 with SMTP id 98e67ed59e1d1-2c2bc9b9708mr2542513a91.1.1717763701854; Fri, 07 Jun 2024 05:35:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717763701; cv=pass; d=google.com; s=arc-20160816; b=cFcs9YSHzNYzcofmX6YAWJmmgu4QAP7qlMhX8CdaN1quDfQKW+FB6fSIbZ2Ll7i3tP R1ZRds+HDeQWvDVrwb0zW+nmRQ6ouA/1h4ks09PwvpWMHssj9aKDrPnddfarQERrVl04 ajmgGYq/94H+0zhGz3pfBfLiHO01BWyAauneO86Hwe9Hpo3YA6jsyoN3r0Aq5tPwDo3A 5Nf9Es8XSXpB7qYhqpDTnZiAXfxPoZ7PTjpOnzd4pD2DUEU2JngYaz3ensZFz0soYAio 5Pc8KQqAdRRME31GtU+F/as80+sg5/wSu6Idf7gOC+SwXvLDB+/FarVKdzXLkV0DAiPV ExBA== 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=Kh90fx2PE5I173IV4bumorwH3LYvkL1HSZioVDh4IHk=; fh=7hTsMhK9PYWl6wGtKSGH0vASBx+vm87tFMcx/AmxrgQ=; b=HtBlp0k6Mwl8TWEidW7o+AtyVINhajB5DWxnAaa0fqqheeXFDIL8IP1ohNH2CURSn8 HLfkyU60nmI9OAQIoC8v78MzcCiAiTqGD31D74dCZMO8JGC6GPq4ZlklviKK9039yXEj ZWN92KFzia6wIH2M4Ixzjq1lyQjJnF/mAF1DfuLQN7cYFCysqq7DuW8Y9Avdw93Z38j+ BZlIoOsXEiN9QRKg1PMZjuPhDOP6iTaR8qek+bHtK24Cqe1ApBxhHYMKIsPx2yWY4PIo 5dF/XX6tLldzoTX6BMkEekarTORn4Kuke0Ls7v4JpCCEeAno4bh6ak8QeEXlZ0dOc5RL T7sw==; 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-206052-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206052-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. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2d11813acsi236770a91.185.2024.06.07.05.35.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206052-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-206052-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206052-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 BDD5B289D60 for ; Fri, 7 Jun 2024 12:32:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88865193093; Fri, 7 Jun 2024 12:31:49 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C69351922D2; Fri, 7 Jun 2024 12:31:47 +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=1717763509; cv=none; b=HDngPPmyez7MsVmq5glfEMglr9I1+l+AXXX0a2OTi0vrOhI2qnnXD/eoLqDZymQq7lFCjXL5o3Rmt9pW3IRnV2v9dojq0qxTp1kjMKwGxKG0tBZnJcAP+zbnnsd3fpsxwCHAt9X/Ip68x/LI5ufTxm4gDLKzVVcRY8+c+FO6z/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717763509; c=relaxed/simple; bh=KxD8ye48WFLc/fQFO71SyxJ80T5LeRBbVkF9mrX1+/4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IyNDj2BE9czE+78TRwx7G11Ws3Ivd6lE50mOb2OjDIQ6dAqb2mYJ1tsMeHe0sfBEicy/wlwCIMYc8UT+QioFxyi+KdRjinsjlJUv59gXNCF2ZGOlQ/3+uK2y7cVn0IWQzVapK8sqb+ZkTzr18CUwd1eM3q0VHBol9RI6NVEJ6i8= 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 AD9CD13D5; Fri, 7 Jun 2024 05:32:11 -0700 (PDT) Received: from e116581.blr.arm.com (e116581.arm.com [10.162.42.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C06CA3F64C; Fri, 7 Jun 2024 05:31:42 -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, AneeshKumar.KizhakeVeetil@arm.com, linux-kernel@vger.kernel.org, Dev Jain Subject: [PATCH 2/2] signal.7: Fix wrong mention of sigprocmask Date: Fri, 7 Jun 2024 18:01:19 +0530 Message-Id: <20240607123119.769044-3-dev.jain@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240607123119.769044-1-dev.jain@arm.com> References: <20240607123119.769044-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 17e75c86d..09d30c678 100644 --- a/man/man7/signal.7 +++ b/man/man7/signal.7 @@ -295,7 +295,7 @@ execution of the handler.) 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