Skip to contentSkip to conversation

Enable usage of pthread_set_{mode, name}_np from kernel space

PATCH In review Stelian Pop 2 participants 2 messages Feb 8, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable usage of pthread_set_{mode, name}_np from kernel space

Hi,

Is there a reason why pthread_set_{mode,name}_np are not allowed to be called from a kernel space POSIX thread ?

If there is none, please apply the patch below.

Thanks.

skins/posix/thread.c +2 -0
Index: ksrc/skins/posix/thread.c
===================================================================
@@ -745,3 +745,5 @@
 EXPORT_SYMBOL(pthread_self);
 EXPORT_SYMBOL(pthread_make_periodic_np);
 EXPORT_SYMBOL(pthread_wait_np);
+EXPORT_SYMBOL(pthread_set_name_np);
+EXPORT_SYMBOL(pthread_set_mode_np);
Signature · 1 line
Stelian Pop <[email protected]>
#1 lore raw
Quoted 6 lines · Stelian Pop

Hi,

Is there a reason why pthread_set_{mode,name}_np are not allowed to be called from a kernel space POSIX thread ?

If there is none, please apply the patch below.

No, this is completely unintended. Thanks.

Signature · 1 line
					    Gilles Chanteperdrix.