summaryrefslogtreecommitdiffstats
path: root/net/khttpd
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-23 14:05:01 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-23 14:05:01 +0000
commitf3627cbe9236a062012c836f3b6ee311b43f63f2 (patch)
treeae854838b9a73b35bd0f3b8f42e5fb7f9cb1d5a9 /net/khttpd
parentfea12a7b3f20bc135ab533491411e9ff753c01c8 (diff)
Merge with Linux 2.4.0-test5-pre4.
Diffstat (limited to 'net/khttpd')
-rw-r--r--net/khttpd/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/khttpd/main.c b/net/khttpd/main.c
index a9568ef0d..5c39c59b9 100644
--- a/net/khttpd/main.c
+++ b/net/khttpd/main.c
@@ -277,7 +277,7 @@ static int ManagementDaemon(void *unused)
while (I<ActualThreads)
{
atomic_set(&Running[I],1);
- (void)kernel_thread(MainDaemon,&(CountBuf[I]),0);
+ (void)kernel_thread(MainDaemon,&(CountBuf[I]), CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
I++;
}
@@ -294,7 +294,7 @@ static int ManagementDaemon(void *unused)
if (atomic_read(&Running[I])==0)
{
atomic_set(&Running[I],1);
- (void)kernel_thread(MainDaemon,&(CountBuf[I]),0);
+ (void)kernel_thread(MainDaemon,&(CountBuf[I]), CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
(void)printk(KERN_CRIT "kHTTPd: Restarting daemon %i \n",I);
}
I++;
@@ -383,7 +383,7 @@ int __init khttpd_init(void)
StartSysctl();
- (void)kernel_thread(ManagementDaemon,NULL,0);
+ (void)kernel_thread(ManagementDaemon,NULL, CLONE_FS | CLONE_FILES | CLONE_SIGHAND);
return 0;
}