From: Philip Homburg Date: Tue, 7 Aug 2007 12:25:21 +0000 (+0000) Subject: Removed sigaction call. PM tries to talk to DS. DS should not talk to PM. X-Git-Tag: v3.1.4~345 X-Git-Url: http://zhaoyanbai.com/repos//%22http:/%22%29?a=commitdiff_plain;h=fd151245e90ba8ca79fe90218f855146e3ba64a0;p=minix.git Removed sigaction call. PM tries to talk to DS. DS should not talk to PM. --- diff --git a/servers/ds/main.c b/servers/ds/main.c index ee76f0c31..86faf18a5 100644 --- a/servers/ds/main.c +++ b/servers/ds/main.c @@ -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(); }