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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0495 Actions


    Problem Report Number 0495
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0114
    Raised 1995-09-07 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification XOPEN.os/procenv/cuserid 3, 4
    Linked Problem Reports TSD4.199, (in, old, system)
    Problem Summary PG4R.115 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
    ************************************************************************

    ************************************************************************
    /test/XOPEN.os/procenv/cuserid/T.cuserid 4 Unresolved

    Test Description:
    An unsuccessful call to cuserid() when the login name cannot be found
    and the argument is a NULL pointer, returns a NULL pointer.

    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
    The value of the configuration variable VSX_UNUSED_UID should be set to
    "unsup". This will cause the above tests to produce an UNSUPPORTED result
    and a waiver will not be necessary.

    It is recommended that this waiver request is refused.

    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