Thread: [Linux1394-cvslog] rev 788 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2003-02-16 04:18:21
|
Author: bencollins Date: 2003-02-15 23:17:39 -0500 (Sat, 15 Feb 2003) New Revision: 788 Modified: trunk/nodemgr.c Log: Merge patch for 2.5.61+bk daemonize change Modified: trunk/nodemgr.c ============================================================================== --- trunk/nodemgr.c (original) +++ trunk/nodemgr.c 2003-02-15 23:17:40.000000000 -0500 @@ -1215,9 +1215,8 @@ struct host_info *hi = (struct host_info *)__hi; /* No userlevel access needed */ - daemonize(); - - strcpy(current->comm, "knodemgrd"); + daemonize("knodemgrd"); + allow_signal(SIGTERM); /* Sit and wait for a signal to probe the nodes on the bus. This * happens when we get a bus reset. */ |