diff options
Diffstat (limited to 'sysdeps/posix/sprofil.c')
-rw-r--r-- | sysdeps/posix/sprofil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/posix/sprofil.c b/sysdeps/posix/sprofil.c index 1447a4f266..42c43cd799 100644 --- a/sysdeps/posix/sprofil.c +++ b/sysdeps/posix/sprofil.c @@ -339,6 +339,9 @@ __sprofil (struct prof *profp, int profcnt, struct timeval *tvp, act.sa_handler = (sighandler_t) &profil_counter_ushort; act.sa_flags = SA_RESTART; __sigfillset (&act.sa_mask); +#ifdef __CHKP__ + __sigdelset (&act.sa_mask, SIGSEGV); +#endif if (__sigaction (SIGPROF, &act, &prof_info.saved_action) < 0) return -1; |