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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0199 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 0199.


Report 0199 Actions


    Problem Report Number 0199
    Submitter's Classification Specification problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0199
    Raised 1995-01-04 08:00
    Updated 2003-03-13 08:00
    Published 1995-01-18 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.4
    Test Identification XOPEN.os/procenv/cuserid 3, 4
    Problem Summary TSD4.199 Tests 3 and 4 of XOPEN.os/procenv/cuserid expect to be able to do a setuid() to the uid specified by VSX_UNUSED_UID in tetexec.cfg. This value is documented to be "an unused (but valid) user ID" but i...
    Problem Text
    Tests 3 and 4 of XOPEN.os/procenv/cuserid expect to be able to do a
    setuid() to the uid specified by VSX_UNUSED_UID in tetexec.cfg. This
    value is documented to be "an unused (but valid) user ID" but it is not
    clear that such users are required by the standards. The standards do
    not appear to require that setuid() work for uids that have no user
    associated with them. In such situations, setuid() may fail and set
    errno to EINVAL. The cuserid() tests do not even check the return value
    from setuid().

    We believe that if it is a requirement for setuid() to work for uid's
    not associated with users that there should be an assertion for this
    situation and a test in the suite specific to setuid().
    Test Output
    /tset/XOPEN.os/procenv/cuserid/T.cuserid 3.Unresolved

    Test Description:
    An unsuccessful call to cuserid() when the login name cannot be found
    and the argument is not a NULL pointer, returns the argument and
    places a NULL character at the address pointed to by the argument.

    Test Information:
    setuid(999999) did not set effective UID to 999999

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    I suggest that this is treated as a test suite deficiency. The two
    tests in question only issue a WARNING result rather than a FAILURE,
    and it seems somewhat unnecessary to issue an UNRESOLVED result in the
    case that the VSX_UNUSED_ID parameter can not be set correctly.

    I recommend that a waiver is granted on the grounds of a test suite
    deficiency.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority