From mboxrd@z Thu Jan 1 00:00:00 1970 From: Han Pingtian Date: Mon, 14 Mar 2016 16:19:07 +0800 Subject: [LTP] question about signal handling in tst_sig() Message-ID: <20160314081907.GA3579@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi there, Looks like in tst_sig(), if _SC_SIGRT_MIN defined, all realtime signals won't be set an handler: 125 #ifdef _SC_SIGRT_MIN 126 if (sig >= sigrtmin && sig <= sigrtmax) 127 continue; 128 #endif but, if it wasn't defined, then all realtime signals will be set an handler: 134 #if !defined(_SC_SIGRT_MIN) && defined(__SIGRTMIN) && defined(__SIGRTMAX) 135 /* Ignore all real-time signals */ 136 case __SIGRTMIN: 137 case __SIGRTMIN + 1: ... is that correct, or I missed something here? Thanks in advance!