lkml.org 
[lkml]   [2014]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: "copy_to_user" function not working in stable build "2.6.36.4"
From
My mistake,  I forgot to add this, the "copy_to_user" function I'm
referring here is for "X86"
based architecture.

What I have found:
-> 2.6.36.4
* "copy_to_user" calls "_copy_to_user"
* "_copy_to_user" no definition.

-> 3.14
* copy_to_user calls "_copy_to_user"
* "_copy_to_user" has a definiton
* _copy_to_user is defined as a function call to access_ok function
and __copy_to_user.

I was just wondering if the fix present in kernel versions "3.14" for
this , will work straight forward on "2.6.36.4". What I mean is
whether back porting of this fix will work, or there are other
parameters to consider.




On 7/27/14, Richard Weinberger <richard@nod.at> wrote:
> Am 27.07.2014 10:44, schrieb zubraz singha:
>> I do understand that this is a very old build and its not being
>> supported. As I wrote in my earlier mail, the function works fine
>> with higher kernel versions. I will try to find out a work around for
>> this. Appreciate your feedback.
>
> First I'd look into 2.6.32.x. Maybe it needed fixing and you can forward
> port the fix. :)
>
> Thanks,
> //richard
>


--
-- Regards
Zubraj Singha


\
 
 \ /
  Last update: 2014-07-27 11:41    [W:0.035 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site