lkml.org 
[lkml]   [1999]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcopy_to_user in modules ?
Hi,
I believe that we are advised to use copy_to_user() for converting to user
space. But since this is not exported, are we supposed to export it(in
ksyms.c), rebuild the kernel and then use it ? Suppose I want to write device
drivers, the probability is very high that I will have it as a module and the
probability is even higher that I'll have to use functions like
copy_to_user/copy_from_user or the obsolete versions memcpy_tofs/memcpy_fromfs
and these aren't exported. Looks like linux by nature, doesn't encourage
modular devide drivers.

Am I right or am I missing something ?

Forgive me if this a stupid question.

Thanks
Kesava


____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1

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

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