On Thu, Mar 11, 2010 at 06:32:17PM -0800, [email protected] wrote: > On Thu, Mar 11, 2010 at 07:55:24PM -0600, Nicolas Williams wrote: > > I think I see your counter-argument: a hard-link (or even symlink) will > > be resolved more quickly than verexec (or ld.so.1) can open a config > > file, read through it, make a decision and exec() (or mmapobj()) the > > result. Did I predict well? > > Have you read Stephen's verexec proposal? The exact mechanism that is > described has verexec use hardlinks and symlinks to open the correct > version of Perl/Python/whatever.
I had, long ago, and I'd forgotten. I did just re-read it. verexec basically readdir()s /etc/verexec.d/$(basename $0), picks the greatest version number it finds in the directory, and execs that if any is found. Nico -- _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
