ports/121235: ports/sysutils/socket registers signal handler for SIGINFO that exits
Matt Koivisto
mkoivisto at sandvine.com
Fri Feb 29 20:40:06 UTC 2008
>Number: 121235
>Category: ports
>Synopsis: ports/sysutils/socket registers signal handler for SIGINFO that exits
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 29 20:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Matt Koivisto
>Release: 6.2-RELEASE
>Organization:
Sandvine Corp.
>Environment:
FreeBSD bsd-build3.phaedrus.sandvine.com 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Tue Apr 17 22:03:22 EDT 2007 root at bsd-build3.phaedrus.sandvine.com:/usr/obj/usr/src/sys/bsd-build3 i386
>Description:
ports/sysutils/socket registers signal handler for SIGINFO that exits when SIGINFO is received. This makes diagnostics with Ctrl-T impossible.
>How-To-Repeat:
send SIGINFO to process
>Fix:
See attached patch - Prevent SIGINFO handler from being installed
Patch attached with submission follows:
*** utils.c.orig Fri Feb 29 15:21:52 2008
--- utils.c Fri Feb 29 15:23:26 2008
***************
*** 89,98 ****
--- 89,102 ----
case SIGTTIN:
case SIGSTOP:
case SIGCONT:
continue ;
#endif
+ #ifdef SIGINFO
+ case SIGINFO:
+ continue ;
+ #endif
#if !defined (SIGCHLD) && defined (SIGCLD)
#define SIGCHLD SIGCLD
#endif
#ifdef SIGCHLD
case SIGCHLD:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list