lkml.org 
[lkml]   [1999]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecthelp...

Hello,

I'm trying to understand how Linux modules work basically reading a
documentation I got in Internet which has some gradually increasing
complexity examples. The examples are about how to communicate with a
character device and they use a function named "put_user" (to put the
message
in the kernel address space in the user address space).
When I try to insert the module using this function I get an error message
like
"bad_user_access_length" that I believe comes from a file called
"panic.c".

I know that the function is a macro defined in the file "segment.h" but I
don't know exactly how it works.
Can somebody help me or give a little explanation or some reference books
that I could use?

Thans in advance!


-
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:52    [W:0.031 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site