linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] get/put_task_struct
@ 2003-08-04 12:54 Frank Cornelis
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Cornelis @ 2003-08-04 12:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Frank Cornelis

Hi,

In order to be able to safely manipulate a task_struct 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.

Frank.

--- linux-2.6.0-test2.orig/kernel/ksyms.c	2003-07-29 10:04:45.000000000 +0200
+++ linux-2.6.0-test2/kernel/ksyms.c	2003-07-29 14:11:40.000000000 +0200
@@ -495,6 +495,7 @@
 #if !defined(__ia64__)
 EXPORT_SYMBOL(loops_per_jiffy);
 #endif
+EXPORT_SYMBOL(__put_task_struct);
 

 /* misc */



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] get/put_task_struct
@ 2003-08-11  9:44 Frank Cornelis
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Cornelis @ 2003-08-11  9:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: Frank Cornelis

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 */



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-11  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-04 12:54 [PATCH] get/put_task_struct Frank Cornelis
2003-08-11  9:44 Frank Cornelis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).