[PATCH] export [__]set_special_pids()

From: Randy.Dunlap
Date: Wed Oct 01 2003 - 23:44:19 EST



Please apply to 2.6.0-test6.

Fixes http://bugme.osdl.org/show_bug.cgi?id=1231

--
~Randy


patch_name: set_spec_pids.patch
patch_version: 2003-10-01.21:36:33
author: Randy.Dunlap <rddunlap@xxxxxxxx>
description: EXPORT [__]set_special_pids(); Ingo added these
in include/linux/sched.h but didn't export them;
jffs uses set_special_pids();
(kills bug #1231)
product: Linux
product_versions: 2.6.0-test6
diffstat: =
kernel/exit.c | 4 ++++
1 files changed, 4 insertions(+)


diff -Naur ./kernel/exit.c~sspids ./kernel/exit.c
--- ./kernel/exit.c~sspids 2003-09-27 17:50:54.000000000 -0700
+++ ./kernel/exit.c 2003-10-01 21:32:45.000000000 -0700
@@ -254,6 +254,8 @@
}
}

+EXPORT_SYMBOL(__set_special_pids);
+
void set_special_pids(pid_t session, pid_t pgrp)
{
write_lock_irq(&tasklist_lock);
@@ -261,6 +263,8 @@
write_unlock_irq(&tasklist_lock);
}

+EXPORT_SYMBOL(set_special_pids);
+
/*
* Let kernel threads use this to say that they
* allow a certain signal (since daemonize() will
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/