Skip to contentSkip to conversation

get/put_task_struct

PATCH New Frank Cornelis 1 participant 1 message Aug 11, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 get/put_task_struct

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.

kernel/ksyms.c +1 -0
@@ -498,6 +498,7 @@
 #if !defined(__ia64__)
 EXPORT_SYMBOL(loops_per_jiffy);
 #endif
+EXPORT_SYMBOL(__put_task_struct);
 
 
 /* misc */