On Mon, Aug 24, 2009 at 07:14:03AM -0500, Nicolas Williams wrote: > On Mon, Aug 24, 2009 at 10:28:27AM +0100, Darren J Moffat wrote: > > The concept is very much needed. I like the environment variable > > override and particularly the per command override. > > > > So now we potentially have three wrapper scripts around a given program: > > > > 1) Select the version > > 2) Select the "best optimised version" (not just 32 vs 64) > > 3) Run with different creds (pfexec) > > > > So how do we start /usr/bin/foo if all three are needed ? > > > > pfexec verexec isaexec /usr/bin/foo > > pfexec isaexec verexec /usr/bin/foo > > ... > > Whichever one isn't expected to be last would have to be aware of the > others.
Oh, also, pfexec is not an argv[0] interposer (I stole your term shamelessly). So as long as the original path is in exec_attr it doesn't matter. _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
