This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Many pthread failures in the test suite, one setgroup failure
- From: egor duda <deo at logos-m dot ru>
- To: Corinna Vinschen <cygwin-developers at cygwin dot com>
- Date: Wed, 25 Sep 2002 18:31:43 +0400
- Subject: Re: Many pthread failures in the test suite, one setgroup failure
- Organization: deo
- References: <20020925141653.GA6134@redhat.com><20020925162508.H20875@cygbert.vinschen.de>
- Reply-to: egor duda <cygwin-developers at cygwin dot com>
Hi!
Wednesday, 25 September, 2002 Corinna Vinschen vinschen@redhat.com wrote:
CV> On Wed, Sep 25, 2002 at 10:16:53AM -0400, Chris Faylor wrote:
>> ltp/setgroups01.c: child process exited abnormally
>> XFAIL: ltp/setgroups01.c (execute)
CV> Did you check that in the setgroups01.c test:
CV> void
CV> setup()
CV> {
CV> [...]
CV> if ( geteuid() != 0 )
CV> tst_brkm(TBROK, cleanup, "Must be ROOT to run this test.");
This check (and also similar checks in other tests) should be fixed to
reflect cygwin's notion of administrative privileges. What's the
proper way to check if current process is running under privileged
account?
Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19