Quoting Subrata Modak (subr...@linux.vnet.ibm.com):
> On Wed, 2009-09-16 at 16:28 -0500, Serge E. Hallyn wrote:
> > The p9auth module is a driver in the staging/ directory, which
> > implements kernel functionality supporting plan 9-style setuid.
> > Programs can be completely unprivileged, authorize themselves
> > to a privileged server, and obtain a token which they can use to
> > authorize a single setuid to a single specified new uid.
> > 
> > This testcase runs three tests:
> >     1. make sure we can't setuid without a hash
> >             (this is actually short-cut in the kernel code
> >             so it might be worthwhile having a separate
> >             test for having a hash, but an invalid one)
> >     2. make sure we can setuid when there is a valid hash
> >     3. make sure we cannot setuid if there is a valid hash,
> >             but our original uid isn't the one specified
> >             in the token.
> > 
> > Run the testcase using
> > 
> >     ./runltp -f p9auth
> > 
> > Signed-off-by: Serge E. Hallyn <se...@us.ibm.com>
> 
> Thanks Serge. The patch seems to be fine except that the following
> script:
> 
>               runp9auth.sh
> 
> make[4]: Entering directory
> `/root/subrata/ltp/ltp-full-20090831/testcases/kernel/security/p9auth'
> make[4]: *** No rule to make target `runp9auth.sh', needed by `install'.
> Stop.
> make[4]: Leaving directory
> `/root/subrata/ltp/ltp-full-20090831/testcases/kernel/security/p9auth'
> make[3]: *** [install] Error 2
> make[3]: Leaving directory
> `/root/subrata/ltp/ltp-full-20090831/testcases/kernel/security'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory
> `/root/subrata/ltp/ltp-full-20090831/testcases/kernel'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory
> `/root/subrata/ltp/ltp-full-20090831/testcases'
> make: *** [install] Error 2

Oops.

> is missing from the patch. So, i was not able to test this. Can you
> please fix this and resend again. In your new patch, can you also
> include mentioning the following .config file options for enabling
> PLAN9AUTH in kernel, through ltp/README:
> 
> CONFIG_CRYPTO=y
> CONFIG_STAGING=y
> # CONFIG_STAGING_EXCLUDE_BUILD is not set
> CONFIG_PLAN9AUTH=m

After I sent it I remembered I didn't address the TODO about
checking for openssl and figured i'd get yelled at for that :)

I'll fix those up and resend when I can.

thanks,
-serge

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to