On Sat, Dec 09, 2000 at 03:43:12PM +1100, Terry Collins wrote:
> CaT wrote:
> >
> > On Sat, Dec 09, 2000 at 04:12:39PM +1100, Jeff Waugh wrote:
> > > See? Look what happens when you share source code!
> > >
> > > http://news.gnome.org/gnome-news/976310729/index_html
>
> Can someone post a summary of what this is about. gnome.org is not a
> reliable connection site.
Hope this'll do ya :)
[1]GNOME NEWS
[2]post article
[3]search
[4]main
ORBit port to Linux Kernel
[5]Developer Toolkit Posted by [6]Chris Lattner on Friday December 08,
@04:25PM
from the kernel-hacking-in-perl-is-good-for-the-soul dept.
We have successfully ported the GNOME ORBit CORBA ORB to the Linux
kernel. This lets you do all kinds of fun hacks like code linux device
drivers or filesystems in perl in user space, or run emacs and have it
transparently attach to a remote kernel. Read below for the full
announcement.
This post is here to announce the availability of a port of ORBit (the
GNOME ORB) to the Linux kernel. This ORB, named kORBit, is available
from our sourceforge web site (http://korbit.sourceforge.net/). A
kernel ORB allows you to write kernel extensions in CORBA and have the
kernel call into them, or to call into the kernel through CORBA. This
opens the door to a wide range of experiments/hacks:
1. We can now write device drivers in perl, and let them run on the
iMAC across the hall from you. :)
2. Through the use of a LD_PRELOAD'd syscall wrapper library, you can
forward system calls through CORBA to an arbitrary local/remote
machine.
3. CORBA servers are implemented as Linux kernel modules, so they may
be dynamically loaded or unloaded from a running system at any
time. CORBA servers expose their IOR's through a /proc/corba
filesystem.
4. Filesystems may be implemented as remote CORBA objects and mounted
on the local machine, by using 'mount -t corbafs -o IOR:... none
/mnt/corba'
This are just some of the features available RIGHT NOW that are
supported by kORBit. I'm sure that YOU can think of many more.
Implementation:
We implemented this port by providing a user->kernel mapping layer
that consists of providing standard system header files for the "user"
code to #include. In these header files, we do the mapping required.
For example, we implement a that #defines printf to printk (as a
trivial example). Only user level code sees or uses these wrappers...
all of our modifications to the Linux kernel are contained within the
linux/net/korbit subdirectory.
This is currently implemented with a 2.4.0test10 kernel, although
forward porting should be very easy. This project was implemented as a
cs423 semester project by Chris Lattner, Fredrik Vraalsen, Andy Reitz,
and Keith Wessel at the University of Illinois @ Urbana Champaign.
Unresolved issues:
* Our poll model is not optimial. Currently we actually do a real
poll on a (struct socket *) set. This causes relatively high
latencies (on the order 1 second, worst case) for CORBA requests.
Our waitqueues are not working quite as well as they should. :)
* Security is completely unimplemented. Someone could use corba
interfaces to read any file on your system, for example (if the
CORBA-FileServer module is installed). Thus, this is really more
for prototyping and development than actual real world use. :)
If you have any questions or comments, please feel free to contact us
at:
[7]Chris Lattner, Fredrik Vraalsen, Andy Reitz, Keith Wessel
btw, yes we are quite crazy, but what good is it to be normal and
conformist afterall? :)
< [8]GNOME ported to Windows | [9]Linux Orbit: The Newbie test drives
GnuCash >
Related Links
[10]Articles on Developer Toolkit
[11]Also by Chris Lattner
Contact [12]author
The Fine Print: The following comments are owned by whoever posted
them.
*discussion snipped for sake of brevity*
References
*refs too*
> > > Anarchy in the streets, ORBs in the kernel - it's all going downhill fast!
> >
> > There'll be sex in the streets I tell you! SEX IN THE STREETS! :)
>
> Obviously you don't live in/visit/pass through certain suburbs.
:)
--
CaT ([EMAIL PROTECTED])
'We do more then just sing and dance. We've got a brain too.'
-- The Backstreet Boys
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug