On 22/01/15 17:10, Justin Cormack wrote: >> Can't you just generate the list of symbols offline (nm) and feed it to >> the guest with whatever other data you feed it? That should work with >> anything that is statically linked and for dynamically linked >> environments I think the problem is moot (just use host dl*, at least >> FSVO "just"). > > You have to make sure the symbols are linked in, so you would need to > extract the symbols from individual archives then generate the fake > dl. It should be doable generically.
What issues would be run into in reality if we just forget about symbols belonging to objects? RTLD_NEXT? Does the affect any real case we're interested in immediately? Not saying it shouldn't be done properly, but it may be better to have something 90% working in a few hours than have something 99.9% working in a month. > Plus you need to sort out not > having dlopen in the binary - glibc has a tendency to allow static > binaries to do dlopen, Musl is sane. Not sure how that's a problem. Are you talking about baremetal (and xen) or -posix? > Host dl seems problematic as it will only work on dynamically linked > posix as a platform. Why is it problematic? How else are going to do dl* on dynamically linked platforms? ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
