]> Zhao Yanbai Git Server - minix.git/commitdiff
Removed sigaction call. PM tries to talk to DS. DS should not talk to PM.
authorPhilip Homburg <philip@cs.vu.nl>
Tue, 7 Aug 2007 12:25:21 +0000 (12:25 +0000)
committerPhilip Homburg <philip@cs.vu.nl>
Tue, 7 Aug 2007 12:25:21 +0000 (12:25 +0000)
servers/ds/main.c

index ee76f0c31e1a47ed0243eab25c71362fc742a21f..86faf18a5496d34bb70bd549e72feacefa1a7e8e 100644 (file)
@@ -88,13 +88,6 @@ PRIVATE void init_server(int argc, char **argv)
   int i, s;
   struct sigaction sigact;
 
-  /* Install signal handler. Ask PM to transform signal into message. */
-  sigact.sa_handler = SIG_MESS;
-  sigact.sa_mask = ~0;                 /* block all other signals */
-  sigact.sa_flags = 0;                 /* default behaviour */
-  if (sigaction(SIGTERM, &sigact, NULL) < 0) 
-      report("DS","warning, sigaction() failed", errno);
-
   /* Initialize DS. */
   ds_init();
 }