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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0484 Actions


    Problem Report Number 0484
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0103
    Raised 1995-01-04 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.4
    Test Identification XOPEN.os/procenv/cuserid 1, 2
    Problem Summary PG4R.104 Tests 1 and 2 of XOPEN.os/procenv/cuserid expect the cuserid() function to return "vsx1" for a process. Some implementations do not allow lower-case userids. There is no requirement in the standards t...
    Problem Text
    Tests 1 and 2 of XOPEN.os/procenv/cuserid expect the cuserid()
    function to return "vsx1" for a process. Some implementations do not
    allow lower-case userids. There is no requirement in the standards
    that systems support lower-case userids and it is improper for the
    VSX4 suite to expect a compliant system to support them.

    We believe that names of all userids (including "vsx1") should be
    tailorable in tetexec.cfg so that the choice of userids is left up to
    the whoever is executing the suite.
    Test Output
    /tset/XOPEN.os/procenv/cuserid/T.cuserid 1.Failed

    Test Description:
    A successful call to cuserid() when the argument is not a NULL pointer
    returns its argument which addresses a string containing the real or
    effective user name associated with the current process.
    In XPG3 mode a Warning result is given if the real user name is
    returned rather than the effective user name.

    Test Strategy:
    VERIFY that effective user id is vguid1
    VERIFY that effective user id differs from real user id
    CREATE child process
    CHILD process will
    CALL cuserid(s)
    VERIFY that cuserid() returns real or effective user id
    SET effective user id to real user id by calling setuid()
    VERIFY that effective user id matches real user id
    CALL cuserid(s)
    VERIFY that cuserid() returns real or effective user id

    Test Information:
    cuserid(buf) returned "VSX1", expected "vsx1"
    current effective UID = 41, real UID = 40

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The XSI4 definition of user name states "To be portable across XSI-
    conformant systems, the value must be composed of characters from the
    portable filename character set." (See Pages 17 and 21 of System Interface
    Definitions.)

    This suggests that a conforming system should be capable of accepting
    user names containing lower-case characters. However, it is possible
    that this statement, which does not appear in the definitions for
    POSIX.1 or POSIX.2, may be interpreted to not make this a requirement
    on the implementation.

    It is recommended that this be forwarded for interpretation.

    Review Type Expert Group Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution No Resolution Given
    Review Conclusion
    The interpretation subgroup agreed with the consultants recommendation
    that an implementation is required to accept lower-case letters in the
    group and user names.

    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