~yolanda.robla/ubuntu/saucy/clamav/dep-8-tests

« back to all changes in this revision

Viewing changes to clamd/clamuko.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2009-11-02 23:27:19 UTC
  • mfrom: (0.35.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091102232719-61ay35095dhbuxfm
Tags: 0.95.3+dfsg-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Build-dep on libltdl3-dev instead of libltdl-dev for updating earlier
    releases more easily
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <sys/stat.h>
31
31
#include <signal.h>
32
32
#include <pthread.h>
 
33
#include <string.h>
33
34
 
34
35
#include "libclamav/clamav.h"
35
36
 
89
90
    sigdelset(&sigset, SIGBUS);
90
91
#endif
91
92
    pthread_sigmask(SIG_SETMASK, &sigset, NULL);
 
93
    memset(&act, 0, sizeof(struct sigaction));
92
94
    act.sa_handler = clamuko_exit;
93
95
    sigfillset(&(act.sa_mask));
94
96
    sigaction(SIGUSR1, &act, NULL);