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

Bug#291357: kernel-source-2.4.27: SIGHUP not being sent when controlling process exits



Package: kernel-source-2.4.27
Version: 2.4.27-6
Severity: important



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-6-lube-686-smp
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages kernel-source-2.4.27 depends on:
ii  binutils                      2.15-5     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-1    A high-quality block-sorting file 
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities

-- no debconf information

drivers/char/tty_io.c, line 768, contains this line:

	/* tty_deferred_ldisc_switch(N_TTY);

Note: no trailing "*/".  I am not sure what was intended here,
but the net result is to comment out the code that sends a
SIGHUP to child processed when their leader exits.

This is bad, real bad.  This means that after:

    login: me
    $ sleep 1000
    $ exit

sleep still runs.  The errant patch is in
093_tty_lockup.diff.bz2.




Reply to: