HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2025 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 2025.


Report 2025 Actions


    Problem Report Number 2025
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0598
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.2
    Test Identification PTHR.os/all/General 4
    Problem Summary PG5TH.00006 In SRC/common/vsthlib/vsth_rtf.c, the fchown_tf() function includes: rval = fchown(fd, Vsth_fchown_uid1, Vsth_fchown_gid1); if ( rval == 0 ) { vsth_ec(); rval = fstat(fd, &sb); vsth_xc(); if ( rval ==...
    Problem Text

    In SRC/common/vsthlib/vsth_rtf.c, the fchown_tf() function
    includes:

    rval = fchown(fd, Vsth_fchown_uid1, Vsth_fchown_gid1);
    if ( rval == 0 )
    {
    vsth_ec();
    rval = fstat(fd, &sb);
    vsth_xc();

    if ( rval == 0 )
    {
    if (sb.st_gid != Vsth_fchown_gid1)
    {
    ++fails;
    }
    }
    else
    {
    ++errs;
    }
    }
    else




    {
    ++errs;
    }

    rval = fchown(fd, Vsth_fchown_uid1, Vsth_fchown_gid2);
    if ( rval == 0 )
    {
    vsth_ec();
    rval = fstat(fd, &sb);

    The two calls to fchown() are trying to change the file group ID
    to VSX_GID1 and VSX_GID2 respectively. The process is owned by
    vsx0, who is not a member of either group, so the calls must
    fail.

    Test Output

    0|16 /tset/PTHR.os/all/General/T.General 14:06:46|TC Start, scenario ref
    19-0
    15|16 3.1-lite 5|TCM Start
    400|16 1 1 14:06:46|IC Start
    520|16 4 00017026 865 4|Testing fchown()
    520|16 4 00017026 897 1|Rt_tries: 0, Rt_hits 0
    520|16 4 00017026 897 2|Rt_enter: 16, Rt_exit 0
    520|16 4 00017026 897 3|fchown() unresolved
    220|16 4 2 14:26:46|UNRESOLVED
    410|16 4 1 14:26:46|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is a duplicate of req.5.TH.052, which was granted the waiver TSD5TH.00045 on
    the basis of a test suite deficiency. We recommend that this request
    be refused as a duplicate.


    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.


    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority