* [uml-devel] Re: Hostaudio module parameters [not found] <200310051810.56462.blaisorblade_spam@yahoo.it> @ 2003-11-09 20:34 ` Jeff Dike 0 siblings, 0 replies; 4+ messages in thread From: Jeff Dike @ 2003-11-09 20:34 UTC (permalink / raw) To: BlaisorBlade; +Cc: user-mode-linux-devel, Steve Schmidtke blaisorblade_spam@yahoo.it said: > Since hostaudio can be also a module, it's useful to specify the host > dsp and mixer position even on module loading. So I've added two > params with descriptions for this. The patch is straightforward and > non-intrusive, so please apply it. Applied. I pulled the duplicate help text out so there aren't two copies of it. Jeff ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
* [uml-devel] Re: Hostaudio module parameters @ 2003-10-05 20:20 Steve Schmidtke 2003-10-05 22:59 ` Adam Heath 2003-10-06 18:45 ` BlaisorBlade 0 siblings, 2 replies; 4+ messages in thread From: Steve Schmidtke @ 2003-10-05 20:20 UTC (permalink / raw) To: blaisorblade_spam; +Cc: user-mode-linux-devel, jdike [-- Attachment #1: Type: text/html, Size: 1912 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Re: Hostaudio module parameters 2003-10-05 20:20 Steve Schmidtke @ 2003-10-05 22:59 ` Adam Heath 2003-10-06 18:45 ` BlaisorBlade 1 sibling, 0 replies; 4+ messages in thread From: Adam Heath @ 2003-10-05 22:59 UTC (permalink / raw) To: Steve Schmidtke; +Cc: blaisorblade_spam, user-mode-linux-devel, jdike On Sun, 5 Oct 2003, Steve Schmidtke wrote: > This could be abused to allow reading and writing arbitrary files on the host by loading the module with parameters within the UML. Use filemap. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Re: Hostaudio module parameters 2003-10-05 20:20 Steve Schmidtke 2003-10-05 22:59 ` Adam Heath @ 2003-10-06 18:45 ` BlaisorBlade 1 sibling, 0 replies; 4+ messages in thread From: BlaisorBlade @ 2003-10-06 18:45 UTC (permalink / raw) To: user-mode-linux-devel Alle 22:20, domenica 5 ottobre 2003, Steve Schmidtke ha scritto: [Don't bother me for the Uml. the message I'm answering to was in HTML and my mailer didn't strip tags. It's not my fault] > <html><div style='background-color:'><DIV> > <P>>Since hostaudio can be also a module, it's useful to specify the > host dsp and </P> <P>>mixer position even on module loading. So I've > added two params with </P></DIV> <DIV></DIV>>descriptions for this. The > patch is straightforward and non-intrusive, so <DIV></DIV>>please apply > it. > <DIV></DIV> > <DIV></DIV> > <P>This could be abused to allow reading and writing arbitrary files on the > host by loading the module with parameters within the UML. But if the host hasn't DevFS, the paths are wrong, so the hostaudio won't work as a module. A solution is needed(not compiling it as a module is fine, but it's a workaround). So, I could move the uml_setup strings out of hostaudio_kern.c, so that the boot time params are always read(and conditionalize them to the fact that CONFIG_HOSTAUDIO or whatever is set to at least M, if possible). Then both if hostaudio is a module and if if is statically linked, it will read the boot-time params. For hostfs, which could have the same problem if modularized, the problem doesn't happen because it can't be a module. Or maybe, on module loading the uml_setup parameters should be considered anyway(this is a general solution, and maybe hard, but is not a bad idea). However, if the driver works for arbitrary file, wouldn't it be easy to use it for Unix socket forwarding(in the V1-needs list, on the site)? -- cat <<EOSIGN Paolo Giarrusso, aka Blaisorblade Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729 EOSIGN ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-09 20:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200310051810.56462.blaisorblade_spam@yahoo.it>
2003-11-09 20:34 ` [uml-devel] Re: Hostaudio module parameters Jeff Dike
2003-10-05 20:20 Steve Schmidtke
2003-10-05 22:59 ` Adam Heath
2003-10-06 18:45 ` BlaisorBlade
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox