diff options
author | Holger Waechtler <devnull@localhost> | 2002-12-04 11:00:25 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2002-12-04 11:00:25 +0000 |
commit | be115681678c9a4e34a0cf5caa94c6297b4389f9 (patch) | |
tree | 98483ac430a29780ca18c3733a6c9f013a1ee2e0 /linux | |
parent | 8e3e7bff18e09b407c8e05ab24fce672d7a7a30b (diff) | |
download | mediapointer-dvb-s2-be115681678c9a4e34a0cf5caa94c6297b4389f9.tar.gz mediapointer-dvb-s2-be115681678c9a4e34a0cf5caa94c6297b4389f9.tar.bz2 |
call reparent_to_init() after daemonize ()
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/av7110/av7110.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/av7110/av7110.c b/linux/drivers/media/dvb/av7110/av7110.c index caadca7d0..a1c18bc7a 100644 --- a/linux/drivers/media/dvb/av7110/av7110.c +++ b/linux/drivers/media/dvb/av7110/av7110.c @@ -347,8 +347,9 @@ static int arm_thread(void *data) u16 newloops; lock_kernel(); -#if 0 +#if 1 daemonize(); + reparent_to_init (); #else exit_mm(current); current->session=current->pgrp=1; diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index 9da066fec..755c183dc 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -437,6 +437,7 @@ int dvb_frontend_thread (void *data) lock_kernel (); daemonize (); + reparent_to_init (); sigfillset (¤t->blocked); strncpy (current->comm, "kdvb-fe", sizeof (current->comm)); fe->thread = current; |