[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240611090823.820724-2-dev.jain@arm.com>
Date: Tue, 11 Jun 2024 14:38:22 +0530
From: Dev Jain <dev.jain@....com>
To: alx@...nel.org,
linux-man@...r.kernel.org
Cc: mingo@...nel.org,
tglx@...utronix.de,
mark.rutland@....com,
ryan.roberts@....com,
broonie@...nel.org,
suzuki.poulose@....com,
Anshuman.Khandual@....com,
DeepakKumar.Mishra@....com,
aneesh.kumar@...nel.org,
linux-kernel@...r.kernel.org,
Dev Jain <dev.jain@....com>
Subject: [PATCH v2 1/2] signal.7: Clearly describe ucontext kernel dump to userspace
The set of blocked signals is updated from struct sigaction after the
kernel dumps ucontext. Mention this to avoid misunderstanding.
Signed-off-by: Dev Jain <dev.jain@....com>
---
man/man7/signal.7 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/man/man7/signal.7 b/man/man7/signal.7
index 4ba5306c8..7d22a7cfe 100644
--- a/man/man7/signal.7
+++ b/man/man7/signal.7
@@ -282,7 +282,13 @@ the thread's alternate signal stack settings.
.B SA_SIGINFO
flag, then the above information is accessible via the
.I ucontext_t
-object that is pointed to by the third argument of the signal handler.)
+object that is pointed to by the third argument of the signal handler.
+This object reflects the state at which the signal is delivered, rather
+than in the handler;
+for example, the mask of blocked signals stored in this object will not
+contain the mask of new signals blocked through
+.BR sigaction(2)).
+
.IP (1.4)
Any signals specified in
.I act\->sa_mask
--
2.34.1
Powered by blists - more mailing lists