From 6a2bd9a75bdedba123bf6590ad0a8410aecccf6a Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 26 Oct 2020 11:27:41 +0900 Subject: [PATCH] Change the default value of SIGPIPE To avoid the conflicting default with SIGQUIT. --- include/signal.h | 2 +- sched/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/signal.h b/include/signal.h index 6d85c04695..719f853ee9 100644 --- a/include/signal.h +++ b/include/signal.h @@ -180,7 +180,7 @@ #endif #ifndef CONFIG_SIG_PIPE -# define SIGPIPE 11 +# define SIGPIPE 13 #else # define SIGPIPE CONFIG_SIG_PIPE #endif diff --git a/sched/Kconfig b/sched/Kconfig index 850e4f1db3..86a1199acd 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -1505,7 +1505,7 @@ endif # SIG_DEFAULT config SIG_PIPE int "SIGPIPE" - default 11 + default 13 ---help--- The SIGPIPE signal is sent to a task termination event. This signal is generated when write on a pipe with no one to read it.