The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Rasmus Andersen <rasmus@jaquet.dk>
To: linux-kernel@vger.kernel.org
Subject: A copy_from_user problem in 2.5(.31)
Date: Thu, 22 Aug 2002 23:23:19 +0200	[thread overview]
Message-ID: <20020822212319.GD2024@jaquet.dk> (raw)

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

Hi,

I am looking at getting the SX serial driver to work under 2.5,
specifically 2.5.31 (no others have been tried). The SX board
needs to have its firmware downloaded (uploaded?) before it works,
by some ioctl magic on a misc device. The ioctl does copy_from_user
to get the firmware. This copy_from_user fails under 2.5.31 but
works on 2.4.19.

The firmware in userspace is a char array part of program text.
If I walk or otherwise touch this array prior to the ioctl,
it works fine on 2.5.31.

The copy_from_user fails at addres 804BFFE, AFAICS.

I probably missed an inportant datapoint. Please ask for more
info.

Regards,
  Rasmus

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

                 reply	other threads:[~2002-08-22 21:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020822212319.GD2024@jaquet.dk \
    --to=rasmus@jaquet.dk \
    --cc=linux-kernel@vger.kernel.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