From 95d326c036906b75044736fca88830890af47410 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Thu, 10 Jan 2002 09:02:54 +0000 Subject: [PATCH] SIGXFSZ fixes. --- CHANGES | 8 +++++++- dump/main.c | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 73abb20..42f7a98 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,10 @@ -$Id: CHANGES,v 1.153 2002/01/07 14:36:32 stelian Exp $ +$Id: CHANGES,v 1.154 2002/01/10 09:02:54 stelian Exp $ + +Changes between versions 0.4b26 and 0.4b27 (released ???????????????) +===================================================================== + +1. Fixed behaviour of dump when exceeding resource limits + (SIGXFSZ treatment). Changes between versions 0.4b25 and 0.4b26 (released January 7, 2002) ===================================================================== diff --git a/dump/main.c b/dump/main.c index bdc31f4..0b4270e 100644 --- a/dump/main.c +++ b/dump/main.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.63 2002/01/05 23:23:02 stelian Exp $"; + "$Id: main.c,v 1.64 2002/01/10 09:02:54 stelian Exp $"; #endif /* not lint */ #include @@ -499,6 +499,13 @@ main(int argc, char *argv[]) signal(SIGTERM, sig); if (signal(SIGINT, interrupt) == SIG_IGN) signal(SIGINT, SIG_IGN); +#ifdef SIGXCPU + signal(SIGXCPU, SIG_IGN); +#endif /* SIGXCPU */ +#ifdef SIGXFSZ + signal(SIGXFSZ, SIG_IGN); +#endif /* SIGXFSZ */ + set_operators(); /* /etc/group snarfed */ getfstab(); /* /etc/fstab snarfed */ -- 2.39.5