Problem in "copy_to_user"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
   i'm trying to run oprofile on 2.6 kernel running on mips board.But
when oprofile makes a system call to "sys_lookup_dcookie" function to
find the file path of a particular sample,the function "copy_to_user"
fails and no byte of path is copied to user sapce.

I checked all combinations for source buffer like using array instead
of pointer but no success.
Please suggest me what might be the cause of failure.

regards,
kernelcoder


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux