[Top] [All Lists]

Re: Problem in "copy_to_user"

To: kernel coder <>
Subject: Re: Problem in "copy_to_user"
From: Ralf Baechle <>
Date: Tue, 25 Oct 2005 10:03:49 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/
On Mon, Oct 24, 2005 at 11:12:45PM -0700, kernel coder wrote:

>    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.

This bug in the oprofile userspace tools was fixed about a week ago.


<Prev in Thread] Current Thread [Next in Thread>