From: James Cross <jscross@veritas.com>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>
Subject: [PATCH] The RAW_GETBIND compat_ioctl fails
Date: 22 Jan 2004 08:53:38 +0000 [thread overview]
Message-ID: <1074761619.9010.128.camel@tinkle> (raw)
Hi,
The RAW_GETBIND compatibility ioctl call does convert properly between
the 32bit/64bit version of raw_config_request due to a trivial error,
and the ioctl call fails.
Thanks,
James
--- linux-2.6.2-rc1/fs/compat_ioctl.c.orig 2004-01-21 17:20:26.000000000 +0000
+++ linux-2.6.2-rc1/fs/compat_ioctl.c 2004-01-21 17:20:41.000000000 +0000
@@ -2426,7 +2426,7 @@
__get_user(hi_min, ((__u32*)(&user_req->block_minor) + 1));
req->block_major = lo_maj | (((__u64)hi_maj) << 32);
- req->block_minor = lo_min | (((__u64)lo_min) << 32);
+ req->block_minor = lo_min | (((__u64)hi_min) << 32);
return ret;
}
reply other threads:[~2004-01-22 8:31 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=1074761619.9010.128.camel@tinkle \
--to=jscross@veritas.com \
--cc=akpm@osdl.org \
--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