From: Ralf Baechle <ralf@linux-mips.org>
To: kernel coder <lhrkernelcoder@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Problem in "copy_to_user"
Date: Tue, 25 Oct 2005 10:03:49 +0100 [thread overview]
Message-ID: <20051025090349.GA4330@linux-mips.org> (raw)
In-Reply-To: <f69849430510242312j5e943bbcj4d1b50e0b236662a@mail.gmail.com>
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.
Ralf
prev parent reply other threads:[~2005-10-25 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-25 6:12 Problem in "copy_to_user" kernel coder
2005-10-25 9:03 ` Ralf Baechle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051025090349.GA4330@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=lhrkernelcoder@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox