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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0016 Actions


    Problem Report Number 0016
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0016
    Raised 1992-09-04 08:00
    Updated 2003-03-13 08:00
    Published 1992-09-24 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification ANSI.os/streamio/tmpfile 2
    Problem Summary TSD4.016 See Known Problem 20 in the VSX4.2.3 Release notes. .P The test expects the file created by tmpfile() to take on group id of the parent directory, the test is executing in. Since tmpfile() creates a f...
    Problem Text
    See Known Problem 20 in the VSX4.2.3 Release notes.
    .P
    The test expects the file created by tmpfile() to take on
    group id of the parent directory, the test is executing in.
    Since tmpfile() creates a file in /tmp (actually /var/tmp) on
    our system, it insteads takes on as the group id the effective
    group id of the process vsx1.
    .P
    This is fixed in the VSX4.2.4beta update
    Test Output
    ************************************************************************
    /tset/ANSI.os/streamio/tmpfile/T.tmpfile 2 Failed

    Test Description:
    When a call to tmpfile() creates a file, then the file permission bits
    are set to allow both reading and writing for owner, for group, and
    for other users except for those bits set in the process's file mode
    creation mask. No execute (search) permission bits are set. The user
    ID of the file is set to the process's effective user ID and the group
    ID of the file is set to the process's effective group ID or to the
    group owner of its parent directory
    Note: in FIPS and XPG4 modes the group ID of the file must be set to
    the group ID of its parent directory.
    Posix Ref: Component TMPFILE Assertion 8.2.3.9-05(B)

    Test Strategy:
    CREATE child process
    EXECUTE new program
    SUBPROGRAM:
    CREATE a temporary file using tmpfile()
    OBTAIN file descriptor for stream using fileno()
    VERIFY mode of stream by using fstat() and checking the mode,
    owner and group ids
    CLOSE stream using fclose()
    RESET the file creation mask
    CREATE a temporary file using tmpfile()
    OBTAIN file descriptor for stream using fileno()
    SET all bits in the file protection mask for this process
    VERIFY mode of stream by using fstat() and checking the mode,
    owner and group ids
    CLOSE stream using fclose()

    Test Information:
    tmpfile() did not set group id correctly when umask was 0
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is agreed to be a test suite fault in VSX 4.2.3 and a permanent waiver
    is recommended.

    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 in VSX 4.2.3.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority