int i;
daemonize();
- reparent_to_init();
strcpy(current->comm, "khvcd");
sigfillset(¤t->blocked);
debug ("%s - Entry\n", __FUNCTION__);
lock_kernel ();
daemonize ();
- reparent_to_init ();
// New name
strcpy (current->comm, "hpc_poll");
*/
daemonize();
- reparent_to_init();
sprintf(current->comm, thread->name);
current->exit_signal = SIGCHLD;
DEBUG(1, "blkmtd: writetask: starting (pid = %d)\n", tsk->pid);
daemonize();
strcpy(tsk->comm, "blkmtdd");
- tsk->tty = NULL;
spin_lock_irq(&tsk->sigmask_lock);
sigfillset(&tsk->blocked);
recalc_sigpending();
struct rtl8139_private *tp = dev->priv;
unsigned long timeout;
- daemonize ();
- reparent_to_init();
+ daemonize();
spin_lock_irq(¤t->sigmask_lock);
sigemptyset(¤t->blocked);
recalc_sigpending();
static struct pnp_docking_station_info now;
int docked = -1, d = 0;
daemonize();
- reparent_to_init();
strcpy(current->comm, "kpnpbiosd");
while(!unloading && !signal_pending(current))
{
*/
daemonize();
- reparent_to_init();
/*
* Set the name of this process.
* so get rid of all our resources..
*/
daemonize();
- reparent_to_init();
/* avoid getting signals */
spin_lock_irq(¤t->sigmask_lock);
struct jffs2_sb_info *c = _c;
daemonize();
- current->tty = NULL;
c->gc_task = current;
up(&c->gc_thread_start);
lock_kernel();
daemonize();
- current->tty = NULL;
strcpy(current->comm, "jfsIO");
unlock_kernel();
lock_kernel();
daemonize();
- current->tty = NULL;
strcpy(current->comm, "jfsCommit");
unlock_kernel();
lock_kernel();
daemonize();
- current->tty = NULL;
strcpy(current->comm, "jfsSync");
unlock_kernel();
struct inode *inode;
daemonize();
- reparent_to_init();
snprintf(current->comm, sizeof(current->comm),
"%s-reclaim",
host->h_name);
up(&lockd_start);
daemonize();
- reparent_to_init();
sprintf(current->comm, "lockd");
/* Process request with signals blocked. */
exit_files(current);
current->files = init_task.files;
atomic_inc(¤t->files->count);
+
+ reparent_to_init();
}
static void reparent_thread(task_t *p, task_t *reaper, task_t *child_reaper)
EXPORT_SYMBOL(get_random_bytes);
EXPORT_SYMBOL(securebits);
EXPORT_SYMBOL(cap_bset);
-EXPORT_SYMBOL(reparent_to_init);
EXPORT_SYMBOL(daemonize);
EXPORT_SYMBOL(csum_partial); /* for networking and md */
EXPORT_SYMBOL(seq_escape);
static int __pdflush(struct pdflush_work *my_work)
{
daemonize();
- reparent_to_init();
strcpy(current->comm, "pdflush");
/* interruptible sleep, so block all signals */