summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2016-03-17 01:17:42 +0000
committermp <mp@FreeBSD.org>2016-03-17 01:17:42 +0000
commitb7494eafd641167f614cdd6b217f00d26354d0dc (patch)
treef723ef5b33b9482d62854d43c1ea2be28ddec813
parentaa2f37618347c98d5117360b00acbe8f1bf33497 (diff)
downloadFreeBSD-src-b7494eafd641167f614cdd6b217f00d26354d0dc.zip
FreeBSD-src-b7494eafd641167f614cdd6b217f00d26354d0dc.tar.gz
MFC 296416:
Signal handling within tcsh vfork code path will conflict with some system libraries (such as libthr) which maintain their own signal state. This change adds the tcsh SAVESIGVEC option to save and restore the sigvecs for the signals the child modifies before it execs. Reviewed by: kib, rwatson Reported by: kib Approved by: re
-rw-r--r--bin/csh/config_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/csh/config_p.h b/bin/csh/config_p.h
index 0006fe0..f2d7ebc 100644
--- a/bin/csh/config_p.h
+++ b/bin/csh/config_p.h
@@ -80,6 +80,7 @@
/****************** local defines *********************/
#if defined(__FreeBSD__)
+#define SAVESIGVEC
#define NLS_BUGS
#define BSD_STYLE_COLORLS
/* Use LC_MESSAGES locale category to open the message catalog */
OpenPOWER on IntegriCloud