lkml.org 
[lkml]   [1997]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 15 May 1997 21:11:22 -0400 (EDT)
From"Richard B. Johnson" <>
Subject2.1.37

There is a new "effect" that I just discovered in 2.1.37. I don't
think that this is the proper behavior and I don't know at which version
this behavior started although I think it started after some work
on the "tty" interface. This behavior does not occur on V 2.0.12
which I use at home.

If I do:

make -j zImage &>World.Log &
|____ bash shortcut for BOTH stderr and stdout.
The kernel is being compiled as a background task okay...
If I exit (logout), the kernel continues to be compiled as expected.
No untrapped signals are sent to the children, possibly killing them.
This is exactly as expected.

However, If I have logged in from another network host, and I kill
the `rlogin hostname` task, a SIGHUP gets sent to the children tasks
doing the compile. This kills them. I don't think that this should
have happened as the compile task was executed detached, i.e., the
"&" should have resulted in a "setsid()" which should have devorced
the children from their parent.

Somebody should probably check into this behavior. This does not
occur with SunOS 5.5.1. Once a task is detached, it is not affected
by signals from the terminal.

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.37 on an i586 machine (66.15 BogoMips).
Warning : I read unsolicited mail for $350.00 per hour. Supply billing address.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2010