From: Marco Colombo <marco@esi.it>
To: ultralinux@vger.kernel.org
Subject: Re: [RNDGETENTCNT ioctl]
Date: Fri, 08 Feb 2002 14:07:11 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-101317727425530@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-101311460402385@msgid-missing>
On 7 Feb 2002, Eric wrote:
> Add a COMPATIBLE_IOCTL entry for RNDGETENTCNT into ioctl32.c
> and you may wish to modify the type of avail_entropy to one
> that is explicitly sized (int32_t or somesuch) for cross-platform
> friendliness.
>
> Probably something similar to the following as a starting point:
>
> --- ioctl32.c Fri Feb 1 18:18:21 2002
> +++ ioctl32.c.new Thu Feb 7 12:33:56 2002
> @@ -96,6 +96,7 @@
> #include <linux/usb.h>
> #include <linux/usbdevice_fs.h>
> #include <linux/nbd.h>
> +#include <linux/random.h>
>
> /* Use this to get at 32-bit user passed pointers.
> See sys_sparc32.c for description about these. */
> @@ -4529,6 +4530,8 @@
> COMPATIBLE_IOCTL(WIOCSTART)
> COMPATIBLE_IOCTL(WIOCSTOP)
> COMPATIBLE_IOCTL(WIOCGSTAT)
> +/* Big R */
> +COMPATIBLE_IOCTL(RNDGETENTCNT)
> /* Bluetooth ioctls */
> COMPATIBLE_IOCTL(HCIDEVUP)
> COMPATIBLE_IOCTL(HCIDEVDOWN)
Eric, thanks for your answer.
I'm aware that vendor-patched trees are quite unsupported on general
kernel lists, but, please, bear with me a little... to which kernel tree
does the above apply? I'm asking because:
# find /usr/src/linux/. -type f | xargs fgrep COMPATIBLE_IOCTL
<no results>
# rpm -q kernel-source
kernel-source-2.2.19-6.2.12
that's the Red Hat kernel tree.
I'm pretty willing to grab another tree and compile it, but I'd like to
know which one in advance instead of going on by trial & error. The system
is Red Hat 6.2 so I need a 2.2.x kernel.
.TM.
--
____/ ____/ /
/ / / Marco Colombo
___/ ___ / / Technical Manager
/ / / ESI s.r.l.
_____/ _____/ _/ Colombo@ESI.it
next prev parent reply other threads:[~2002-02-08 14:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-07 12:41 [RNDGETENTCNT ioctl] Eric
2002-02-08 14:07 ` Marco Colombo [this message]
2002-02-08 14:10 ` David S. Miller
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=marc-linux-ultrasparc-101317727425530@msgid-missing \
--to=marco@esi.it \
--cc=ultralinux@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