On Tue, Mar 30, 2010 at 04:05:32PM +0530, Venky wrote:
> On Sat, Mar 27, 2010 at 06:33:46PM -0700, Alan Coopersmith wrote:
> > ?????????? ???????????????????????? wrote:
> > > Here's a real headscratcher: Our project policy requires to add
> > > modules for the ksh93 test suite for each bug fixed if anyhow possible
> > > - see usr/src/lib/libshell/common/tests/sun_solaris_cr_* for the
> > > existing test modules.
> > > Can you imagine how to write a module for the test suite which tests
> > > the fix *without* using root privileges?

You could always build an LD_PRELOAD object that interposes on
getuid()/geteuid()/setuid()/seteuid()/setreuid() and pretends that the
process was started as setuid.

Nico
-- 

Reply via email to