linux-um archives
 help / color / mirror / Atom feed
From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] /dev/random oddity
Date: Thu, 18 Mar 2004 20:06:15 +0100	[thread overview]
Message-ID: <200403182006.15040.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <20040315211609.GA24577@ccure.user-mode-linux.org>

Alle 22:16, lunedì 15 marzo 2004, Jeff Dike ha scritto:
> On Mon, Mar 15, 2004 at 02:23:14PM -0600, Adam Heath wrote:
> > It doesn't.
>
> Figures.
>
> > It'd be nice if there was a generic device mapper between UML and the
> > host, so any device could be proxied, block or char.
>
> Yeah, that would be a good plan.  Too bad about kbuild though.
Sorry, just add an hidden CONFIG_ option which is "default y unless UM" (in 
2.6 language) and you've done the job for the single /dev/random thing (which 
you spoke about above).
For the general proxy case, the hack would be to no-opify the 
register_{blk,chr}dev for the majors/minors you want to proxy and add 
__register_*dev which does the job as always. And to add a list of 
not-proxable majors, possibly, to avoid users proxying their tty's or such 
silly things.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-03-18 18:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-13  1:49 [uml-devel] /dev/random oddity Thomas Schwinge
2004-03-13 13:17 ` Sven 'Darkman' Michels
2004-03-13 15:12   ` Stephen D. Williams
2004-03-14 22:40     ` Matt Zimmerman
2004-03-15 19:37       ` Jeff Dike
     [not found]         ` <Pine.LNX.4.58.0403151422320.13832@gradall.private.brainfood.com>
2004-03-15 21:16           ` Jeff Dike
2004-03-18 19:06             ` BlaisorBlade [this message]
2004-03-15 19:41   ` Jeff Dike

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=200403182006.15040.blaisorblade_spam@yahoo.it \
    --to=blaisorblade_spam@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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