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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1277 Actions


    Problem Report Number 1277
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0559
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-09-24 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification VSU5/readv 22
    Problem Summary TSD4U.00259 This test may fail because tcsetattr() is not using a termios structure derived from a tcgetattr() call.
    Problem Text
    readv#22 on VSU5.0.2 contains the following change for readv#22.

    "vsusr554: tp22 - set termios information for slave loop device rather
    than master, since slave is the only interface defined to have
    termios properties when using pseudo terminals. "

    This change results in tcsetattr() failing EPERM on our platform,
    because tcgetattr() was not called for the termios structure used
    for the failing tcsetattr() call.

    The failing tcsetattr() call is made directly from the freadv22.c
    code, and uses struct termios ltermios. Immediately before this
    tcsetattr() call is made, termios_prep() is called and is passed
    the address for ltermios, but tcgetattr() was never called for
    ltermios as I'm sure was your intention.... spty_prep() is
    passed this address, but never passes it to spty_init() which DOES
    call tcgetattr(), tcsetattr() but only on a termios structure
    defined locally to spty_init()
    Test Output
    TEST CASE: readv

    TEST PURPOSE #22
    A call to ssize_t readv(int fildes, const struct iovec
    *iov, int iovcnt) when the function is interrupted by
    a signal after it has successfully read some data
    shall return the number of bytes read.
    PREP: Read IOV_MAX system configuration
    PREP: Allocate and initialize I/O buffers
    PREP: Open and initialize the terminal files
    ERROR: tcsetattr failed, errno = 139(EPERM - Not owner)
    PREP: Open and initialize the terminal files
    ERROR: tcsetattr failed, errno = 139(EPERM - Not owner)
    CLEANUP: Free iovec buffers
    22 UNRESOLVED

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    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.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority