Back to Home / #uml / 2007 / 10 / Prev Day | Next Day
#uml IRC Logs for 2007-10-13

---Logopened Sat Oct 13 00:00:39 2007
00:13|-|freeloader [~user@kl2311-01.ece.gatech.edu] has joined #uml
00:14<freeloader>Is it possible for me to install a kernel module in UML and access the host's files? Or make system calls to the host's OS?
00:20|-|albertito [~net@host218.200-117-158.telecom.net.ar] has quit [Quit: q]
01:23|-|freeloader [~user@kl2311-01.ece.gatech.edu] has quit [Ping timeout: 480 seconds]
02:08|-|ram [~ram@pool-96-225-204-71.ptldor.fios.verizon.net] has quit [Quit: Leaving]
02:41|-|albertito [~net@host218.200-117-158.telecom.net.ar] has joined #uml
03:16|-|nessie [~nessie@lucifer.nerdfest.org] has quit [Ping timeout: 480 seconds]
06:47|-|freeloader [~user@kl2311-01.ece.gatech.edu] has joined #uml
06:55|-|freeloader [~user@kl2311-01.ece.gatech.edu] has quit [Ping timeout: 480 seconds]
07:36|-|balbir [~balbir@59.178.49.177] has joined #uml
08:34|-|balbir [~balbir@59.178.49.177] has quit [Ping timeout: 480 seconds]
09:35|-|tyler29 [~tyler@ARennes-256-1-15-49.w90-31.abo.wanadoo.fr] has joined #uml
10:29|-|balbir [~balbir@59.178.59.136] has joined #uml
10:43|-|freeloader [~user@kl2311-01.ece.gatech.edu] has joined #uml
10:43<freeloader>Is it possible for me to install a kernel module in UML and access the host OS's functions? Or access the host files arbitrarily.
10:44|-|Ice [~snow@lawn-128-61-18-31.lawn.gatech.edu] has joined #uml
10:58<Magotari>freeloader: Yes, you can do that. The thing you are looking for is hostfs. No need for modules either, it is included in UML, I think anyway.
10:59<freeloader>Magotari: I want arbitrary access to the host OS function calls (not just the file system).
10:59<freeloader>Magotari: Besides, my goal is to have some sort of sharing/IPC between different instances of UML. And hostfs is cached and flushed in an unpredictable manner according to the webpage.
10:59<Magotari>Yes, that is correct.
10:59|-|balbir [~balbir@59.178.59.136] has quit [Read error: Operation timed out]
11:00<Magotari>THe other idea is NFS of some kind.
11:00<Magotari>No idea about host system calls.
11:00<Magotari>Why not just use the host?
11:01<freeloader>What I want is host OS function call wrappers inside the kernel of UML.
11:04<Magotari>I am afraid for this you need to code something of your own, I am not aware of any such functionality in UML.
11:05<Magotari>You can ask jdike, he knows much more than I do, but he is here monday to friday, at least that is how it has been the last while.
11:06<freeloader>Oh, okay. Thanks Magotari.
11:07<Magotari>Sorry, I am new to this. I try to help as best as I can, and sometimes it just is not good enough.
11:16<freeloader>Btw, just curious. Do you guys get paid for this through some company? Or is this a free thing based purely on goodwill.
11:17<Magotari>Jdike said on his website that Intel had him employed full-time to work on UML in 2004. Is this still true, I have no idea.
11:17<Magotari>I am here just for fun, I have no life and I have time to burn. By being here I can learn something, and besides... There is something just very fun about virtual machines.
11:18<Magotari>jdike does come in here monday to friday, for about 8 hours every day. So I think he is employed still.
11:18<Magotari>But that is just speculation. I am not even sure if I got his time here right.
11:31<freeloader>Wow. I have new respect for you, sir.
11:31<Magotari>Oh? Why?
11:32<Magotari>Being employed by Intel is nice, yeah.
11:32<Magotari>I wish I were too. But not knowing C kinda gets in the way.
11:32<freeloader>C isn't that bad. I have respect for you because of the willingness to help others.
11:33<Magotari>I try. I kinda make it a point of my life.
11:33<Magotari>Well, C is not bad to read, but writing C is my problem.
11:33<Magotari>Tutorials don't really help with a practical application.
11:34<freeloader>Maybe. You seem like a Linux guru, though. So C should be cake for you.
11:35<Magotari>Gee, no one ever called me that before. Yes, I am sorta good with Linux, using Gentoo really helped here.
11:35<Magotari>And yes, C should be no problem at all. But no matter how hard I try, it just isn't.
11:36<Magotari>My algorithmics score was the highest in my class. So that is not the problem. I can code python just fine too. But when it comes to C...
11:37<freeloader>Are you doing college these days, or what?
11:38<freeloader>Already graduated? CS major?
11:38<Magotari>I am in the second year of college.
11:39<Magotari>In poland things are different, but the closest thing would be the second year of a bachelor's degree.
11:44<freeloader>Ah, I see.
12:07<Magotari>I think I found a bug in syslog-ng, but could someone confirm it? All you need to do is to delete your /var/ and reboot. This is when COW files are handy.
12:29|-|tyler29 [~tyler@ARennes-256-1-15-49.w90-31.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
12:42|-|tyler29 [~tyler@ARennes-256-1-135-63.w90-32.abo.wanadoo.fr] has joined #uml
13:37|-|tyler29 [~tyler@ARennes-256-1-135-63.w90-32.abo.wanadoo.fr] has quit [Remote host closed the connection]
13:41|-|tyler29 [~tyler@ARennes-256-1-123-65.w90-32.abo.wanadoo.fr] has joined #uml
13:42|-|Magotari_ [~karol@adpm253.neoplus.adsl.tpnet.pl] has joined #uml
13:49|-|Magotari [~karol@abhc201.neoplus.adsl.tpnet.pl] has quit [Ping timeout: 480 seconds]
14:04|-|Urg[workz] [~plamen@83.228.65.158] has quit [Quit: 01001110 01100101 01110010 01100100 00100001]
14:04<Magotari_>freeloader: I just found your mail to uml-devel, and I had an idea. I think, you can use libc functions inside the UML kernel.
14:31|-|Urgleflogue [~plamen@83.228.65.158] has joined #uml
14:57|-|Ice [~snow@lawn-128-61-18-31.lawn.gatech.edu] has quit [Ping timeout: 480 seconds]
15:39|-|tyler29 [~tyler@ARennes-256-1-123-65.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
15:48|-|tyler29 [~tyler@ARennes-256-1-14-115.w90-31.abo.wanadoo.fr] has joined #uml
16:30|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has joined #uml
16:58|-|freeloader [~user@kl2311-01.ece.gatech.edu] has quit [Ping timeout: 480 seconds]
17:52|-|ElectricElf [~dbharris@bas1-toronto48-1279276534.dsl.bell.ca] has quit [Remote host closed the connection]
17:52|-|ElectricElf [~dbharris@76.64.53.246] has joined #uml
18:28|-|tyler29 [~tyler@ARennes-256-1-14-115.w90-31.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
18:45|-|tyler29 [~tyler@ARennes-256-1-75-247.w90-32.abo.wanadoo.fr] has joined #uml
19:14|-|Ice [~snow@lawn-128-61-18-31.lawn.gatech.edu] has joined #uml
19:14|-|Ice [~snow@lawn-128-61-18-31.lawn.gatech.edu] has left #uml []
19:21|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has quit [Quit: aroscha]
19:22|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has joined #uml
19:26|-|freeloader [~user@kl2311-01.ece.gatech.edu] has joined #uml
19:43|-|tyler29 [~tyler@ARennes-256-1-75-247.w90-32.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
19:45<Magotari_>I think I found a bug in syslog-ng, but could someone confirm it? All you need to do is to delete your /var/ and reboot. This is when COW files are handy.
19:45<Magotari_>I think I found a bug in syslog-ng, but could someone confirm it? All you need to do is to delete your /var/ and reboot. This is when COW files are handy.
19:45<Magotari_>I am in the second year of college.
19:46<Magotari_>Shit.
19:46<Magotari_>Don't ask. *sigh*
20:40|-|aroscha [~aroscha@v217-189.vps.tuwien.ac.at] has quit [Quit: aroscha]
20:45<freeloader>Magotari_: I just got back. And I had success with the syscall wrappers around the libc functions. :D
20:46<freeloader>Magotari_: I wrote a wrapper around fopen() and fread() etc. and was able to read an arbitrary host file from inside the UML. But any program root or user inside UML can call that syscall and read files from the host.
20:46<freeloader>Magotari_: It was a good start. I am going to write some more wrappers now.
21:04|-|Ancalagon [~PtitKosmi@215.208-78-194.adsl-fix.skynet.be] has quit [Ping timeout: 480 seconds]
21:08|-|Nem^ [~Nem@dslb-084-056-225-214.pools.arcor-ip.net] has quit [Ping timeout: 480 seconds]
21:15|-|Ancalagon [~PtitKosmi@215.208-78-194.adsl-fix.skynet.be] has joined #uml
21:16|-|Nem^ [~Nem@dslb-084-056-253-064.pools.arcor-ip.net] has joined #uml
22:58|-|VS_ChanLog [~stats@ns.theshore.net] has left #uml [Rotating Logs]
22:58|-|VS_ChanLog [~stats@ns.theshore.net] has joined #uml
23:31|-|balbir [~balbir@59.178.35.23] has joined #uml
23:53<freeloader>Can someone tell me what Makefile in what directory I have to edit in order to link to a library that I am using for my kernel?
---Logclosed Sun Oct 14 00:00:22 2007