NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38060: blocking TSTP is broken

>Number:         38060
>Category:       kern
>Synopsis:       blocking TSTP is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 19 03:05:00 +0000 2008
>Originator:     YAMAMOTO Takashi <>
>Release:        see below
        NetBSD 4.99.54 NetBSD 4.99.54 (SHINY)
        #123: Sun Feb 10 14:58:12 EST 2008 i386
        according to christos@, blocking SIGTSTP is broken.

        <crispytoast> here's the test program for sigblock
        <crispytoast> This is what breaks emacs, less, mail, etc.@ said

#include <stdio.h>
#include <unistd.h>
#include <signal.h>
        sigset_t set;
        sigaddset(&set, SIGTSTP);
        sigprocmask(SIG_BLOCK, &set, NULL);
        for (;;) {
                kill(-getpgrp(), SIGTSTP);


Home | Main Index | Thread Index | Old Index