Messages in this thread | | | Date | Sun, 23 May 2004 09:15:12 -0400 | From | Alan Cox <> | Subject | Re: i486 emu in mainline? |
| |
> > Is there a reason btw it can't be done with LD_PRELOAD ? > > Well, this is an interesting question. I don't know how to do it this way > (how can a program know exactly where the trap occured, etc... I don't know > how to program this). Other than that, LD_PRELOAD will not work against setuid > binaries. But if it does for the rest, I think it can become an elegant > approach.
setuid binaries can still use /etc/ld.preload or whatever the file is called just not environment.
Someone actually did a libmmx long ago that used preload, hooked SIGILL and the signal handlers and used that to provide mmx on an mmx free cpu
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |