Skip to contentSkip to conversation

get/put_task_struct

PATCH New Frank Cornelis 1 participant 1 message Aug 4, 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 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.

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