httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Thu, 25 Jun 1998 21:06:05 GMT
jim         98/06/25 14:06:05

  Modified:    src      CHANGES
               src/main http_main.c
  Log:
  Add SIGILL to our dumpable signals
  
  Revision  Changes    Path
  1.933     +2 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.932
  retrieving revision 1.933
  diff -u -r1.932 -r1.933
  --- CHANGES	1998/06/25 19:51:53	1.932
  +++ CHANGES	1998/06/25 21:06:01	1.933
  @@ -1,5 +1,7 @@
   Changes with Apache 1.3.1
   
  +  *) We now attempt to dump core when we get SIGILL. [Jim Jagielski]
  +
     *) PORT: remove broken test for MAP_FILE in http_main.c.
        [Wilfredo Sanchez <wsanchez@apple.com>]
   
  
  
  
  1.367     +7 -0      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.366
  retrieving revision 1.367
  diff -u -r1.366 -r1.367
  --- http_main.c	1998/06/25 19:51:55	1.366
  +++ http_main.c	1998/06/25 21:06:03	1.367
  @@ -2546,6 +2546,10 @@
   	if (sigaction(SIGABRT, &sa, NULL) < 0)
   	    ap_log_error(APLOG_MARK, APLOG_WARNING, server_conf, "sigaction(SIGABRT)");
   #endif
  +#ifdef SIGILL
  +	if (sigaction(SIGILL, &sa, NULL) < 0)
  +	    ap_log_error(APLOG_MARK, APLOG_WARNING, server_conf, "sigaction(SIGILL)");
  +#endif
   	sa.sa_flags = 0;
       }
       sa.sa_handler = sig_term;
  @@ -2586,6 +2590,9 @@
   #ifdef SIGABRT
   	signal(SIGABRT, sig_coredump);
   #endif /* SIGABRT */
  +#ifdef SIGILL
  +	signal(SIGILL, sig_coredump);
  +#endif /* SIGILL */
   #ifdef SIGXCPU
   	signal(SIGXCPU, SIG_DFL);
   #endif /* SIGXCPU */
  
  
  

Mime
View raw message