about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-03-13 09:45:29 +0000
committerWill Newton <will.newton@linaro.org>2014-04-17 11:40:36 +0100
commit7c6776620db8e48fca492dbcac88d1c0f239dcde (patch)
tree046a6f9a10d27442429c6c50b0e0f32fac286936 /ChangeLog
parente04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8 (diff)
downloadglibc-7c6776620db8e48fca492dbcac88d1c0f239dcde.tar.gz
glibc-7c6776620db8e48fca492dbcac88d1c0f239dcde.tar.xz
glibc-7c6776620db8e48fca492dbcac88d1c0f239dcde.zip
manual/setjmp.texi: Clarify setcontext and signal handlers text
Calling setcontext from a signal handler can be done safely so
it is sufficient to note that it is not recommended.

Also mention in setcontext documentation that the behaviour of
setcontext when restoring a context created by a call to a signal
handler is unspecified.

2014-04-17  Will Newton  <will.newton@linaro.org>

	* manual/setjmp.texi (System V contexts): Add note that
	calling setcontext on a context created by a call to a
	signal handler is undefined.  Update text to note that
	setcontext from a signal handler is possible but not
	recommended.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1dd40fcf2c..7267472884 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2014-04-17  Will Newton  <will.newton@linaro.org>
 
+	* manual/setjmp.texi (System V contexts): Add note that
+	calling setcontext on a context created by a call to a
+	signal handler is undefined.  Update text to note that
+	setcontext from a signal handler is possible but not
+	recommended.
+
 	[BZ #16629]
 	* stdlib/tst-setcontext.c: Include signal.h.
 	(main): Check that the signal stack before and