Reverse Engineering IRIX Multithreading For NetBSD 32
Anonymous Coward writes "Onlamp.com publishes the sixth paper of Emmanuel Dreyfus's series on NetBSD's IRIX binary compatibility implementation. This time, this is about reverse engineering IRIX multithreading and the odd virtual memory features involved with it. It's an adventure at kernel and userland boundaries, with a debugger as the sole weapon. A must read!"
IRIX? (Score:2)
ok, so SGI is moving from IRIX to Windows and Linux. So how many IRIX users will be transitioning from IRIX to NetBSD?
Re:IRIX? (Score:1, Informative)
Re:IRIX? (Score:1)
Re:IRIX? (Score:5, Insightful)
dave
Re:IRIX? (Score:2, Insightful)
IRIX binary compatibility is not sexy, indeed. But IMHO, the tricks exposed in the paper are quite interesting. There is not that much documentation on kernel programming and reverse engineering available around there.
support "legacy" users (Re:IRIX?) (Score:1, Insightful)
Doubtful IMHO (Score:1)
Eeer, Should of been a reply to cpeterso's post. (Score:1)
Re:Doubtful IMHO (Score:2)
hopefully it will let some other people cut their teeth on IRIX apps. that might not have access to an actual IRIX machine.
Note that this effectively maps IRIX system calls to NetBSD ones, but you're still going to have to run this on a suitable MIPS machine.
Chris
Some people are missing the point. (Score:4, Insightful)
NetBSD has a strong following in the academic world (I'm talking about researchers and postgrads here, not undergrads running Linux file sharing apps in their dorm). The BSD license, along with clear and well documented source make Net an ideal choice for academic work. However, a lot of cutting edge work takes place outside academia, often in companies like Sun and SGI. Often this work is not publicly documented.
Reverse engineering things like IRIX's kernel can give valuable insights into advancements made by SGI. These can then suggest new avenues for research that may have been overlooked otherwise.
So those questioning the utility of IRIX binary compatability, are missing the primary motivation for such work. Of course someone may find the ability to run IRIX apps useful one day - after all, who would have thought that NetBSD's emulation of a niche operating system like Linux would have proved so useful
Chris
Re:Some people are missing the point. (Score:2, Insightful)
It removes one of the needs of an executable stack. Running with a non executable stack would be a great step forward: stack overflows exploits would not work anymore.
Re:Some people are missing the point. (Score:2)