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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1118 Actions


    Problem Report Number 1118
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0320
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification base/ftruncate 18
    Problem Summary PG4U.00153 Patch 5.0.3 exists as a workaround. Apply this patch prior to branding.
    Problem Text

    This is another instance of the behaviour described in TSD4U.00254.
    Test Output

    TEST PURPOSE #18
    If the implementation allows creation of a file
    description with an offset maximum less than the
    largest size it supports for an off_t:
    EFBIG in errno and return -1 on a call to int
    ftruncate(int fildes, off_t length) when the file is a
    regular file and length is greater than the offset
    maximum established in the open file descriptor associated with fildes.
    PREP: Check for existence of programming environments
    PREP: Obtain off_t size in XBS5_ILP32_OFF32 environment
    PREP: Obtain off_t size in XBS5_ILP32_OFFBIG environment
    PREP: Obtain off_t size in XBS5_ILP64_OFF64 environment
    PREP: Obtain off_t size in XBS5_LPBIG_OFFBIG environment
    PREP: Open communication pipe for child
    PREP: Execute a program compiled in XBS5_ILP32_OFF32(32-bit off_t)
    environment that:
    opens a regular file
    execs program compiled in XBS5_ILP32_OFFBIG(64-bit off_t) environment,
    passing it the open file descriptor
    TEST: ftruncate returns -1 and sets errno to
    EFBIG when length exceeds the offset maximum
    PREP: Fork a child
    PREP: Connect child's pipe to stdout
    PREP: Wait for child
    INFO: Read child's test result
    PREP: Open communication pipe for child
    PREP: Execute a program compiled in XBS5_ILP32_OFF32(32-bit off_t)
    environment that:
    opens a regular file
    execs program compiled in XBS5_ILP64_OFF64(64-bit off_t) environment,
    passing it the open file descriptor
    TEST: ftruncate returns -1 and sets errno to
    EFBIG when length exceeds the offset maximum
    PREP: Fork a child
    PREP: Connect child's pipe to stdout
    PREP: Wait for child
    INFO: Read child's test result
    ERROR: In LFS program: ftruncate did not fail as expected. Expected: -1
    Recevied: 0
    PREP: Open communication pipe for child
    PREP: Execute a program compiled in XBS5_ILP32_OFF32(32-bit off_t)
    environment that:
    opens a regular file
    execs program compiled in XBS5_LPBIG_OFFBIG(64-bit off_t) environment,
    passing it the open file descriptor
    TEST: ftruncate returns -1 and sets errno to
    EFBIG when length exceeds the offset maximum
    PREP: Fork a child
    PREP: Connect child's pipe to stdout
    PREP: Wait for child
    INFO: Read child's test result
    ERROR: In 32-bit program: open() failed, errno = 79(Value too large for
    defined data type)
    18 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    VSU5.0.3 provides a workaround for these failures. We recommend
    that the implementation be required to apply this patch prior to
    making a single branding run.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused. VSU5.0.3 should be used for the effected
    tests or for the whole test run.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority