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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2334 Actions


    Problem Report Number 2334
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1203
    Raised 2004-02-11 03:26
    Updated 2004-02-16 18:38
    Published 2004-02-16 18:38
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.2.5
    Test Identification rt.os/files/fstat test 1
    Specification Base Definitions Issue 6
    Location in Spec none
    Problem Summary fstat is not required to change execution bits for shared memory files
    Problem Text SUSv3 TC1 states:

    If fildes references a shared memory object, the implementation shall
    update in the stat structure pointed to by the buf argument only the
    st_uid, st_gid, st_size, and st_mode fields, and only the S_IRUSR,
    S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH, and S_IWOTH file permission bits
    need be valid. The implementation may update other fields and flags.


    But the test attempts to test S_IXUSR, S_IXGRP and S_IXOTH. All the
    failures below involve setting the execution bit.
    Test Output

    ************************************************************************
    /tset/rt.os/files/fstat/T.fstat 1 Failed

    Test Description:
    If _POSIX_SHARED_MEMORY_OBJECTS is defined:
    A successful call to fstat() when fildes refers to a shared memory
    object shall update in the stat structure pointed to by buf the
    S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH, and S_IWOTH file
    permission bits in the st_mode field and return 0.

    Test Information:
    Loop 0: expected access bits 700, got 600
    Loop 1: expected access bits 770, got 660
    Loop 2: expected access bits 777, got 666
    Loop 5: expected access bits 100, got 0
    Loop 7: expected access bits 700, got 600
    Loop 10: expected access bits 10, got 0
    Loop 12: expected access bits 70, got 60
    Loop 15: expected access bits 1, got 0
    Loop 17: expected access bits 7, got 6
    Loop 18: expected access bits 707, got 606
    Loop 19: expected access bits 777, got 666
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date 2004-02-11 03:26
    Last Updated 2004-02-11 23:13
    Completed 2004-02-11 23:13
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2004-02-11 23:13
    Last Updated 2004-02-12 00:17
    Completed 2004-02-12 00:17
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR represents a test suite deficiency

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority