git-svn: trunk@3070
Tomasz Kojm authored on 2007/05/29 01:02:15... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Mon May 28 16:47:23 CEST 2007 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamd/server-th.c: fix incorrect handling of SIGSEGV (bb#514) |
|
4 |
+ |
|
1 | 5 |
Mon May 28 14:11:44 CEST 2007 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* clamscan/manager.c: bb#508 (Can't run clamscan as root) |
... | ... |
@@ -506,11 +506,6 @@ int acceptloop_th(int *socketds, int nsockets, struct cl_engine *engine, unsigne |
506 | 506 |
sigaction(SIGHUP, &sigact, NULL); |
507 | 507 |
sigaction(SIGPIPE, &sigact, NULL); |
508 | 508 |
sigaction(SIGUSR2, &sigact, NULL); |
509 |
- |
|
510 |
- if(!debug_mode) { |
|
511 |
- sigaddset(&sigact.sa_mask, SIGHUP); |
|
512 |
- sigaction(SIGSEGV, &sigact, NULL); |
|
513 |
- } |
|
514 | 509 |
#endif |
515 | 510 |
|
516 | 511 |
pthread_mutex_init(&exit_mutex, NULL); |