lkml.org 
[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] get/put_task_struct
From
Date
Hi,

In order to be able to safely manipulate a task_struct (!= current) from
within a module one should use get/put_task_struct. This is currently
not possible because __put_task_struct is not exported. Next patch
solves this issue. Please apply.

Frank.


--- linux-2.6.0-test3.orig/kernel/ksyms.c 2003-08-09 06:31:15.000000000 +0200
+++ linux-2.6.0-test3/kernel/ksyms.c 2003-08-11 11:03:40.000000000 +0200
@@ -498,6 +498,7 @@
#if !defined(__ia64__)
EXPORT_SYMBOL(loops_per_jiffy);
#endif
+EXPORT_SYMBOL(__put_task_struct);


/* misc */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.092 / U:2.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site