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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1101 Actions


    Problem Report Number 1101
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0050
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-11-27 08:00
    Expiry Date 1996-11-27
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.0.2
    Test Identification base/mknod 21
    Problem Summary MSF4U.00003 A MSF is requested because the implementation does not report the error code mandated by the spec.
    Problem Text
    Our implementation of mknod(2) currently does not return EINVAL for a mode
    of S_IFSOCK. If the user is not root, a mknod of S_IFSOCK will fail with
    an errno of EPERM. If the user is root, the mknod will succeed and a
    device file will be created with the IFMT bits for a socket. However,
    open(2) to this "socket file" will fail with EOPNOTSUPP, since access to
    sockets via the file system space is not a supported feature. Allowing
    mknod(2) to succeed with a mode argument of S_IFSOCK is a violation of the
    mknod(2) standard, which does not list S_IFSOCK as a valid mode. Our code
    has been this way since it was first released and this problem has never
    been detected or caused problems during normal use by our customers. We
    will fix this defect at the first opportunity, but do not feel it is a
    significant problem for our customers.
    Test Output
    TEST CASE: mknod

    TEST PURPOSE #21
    EINVAL in errno and return -1 on a call to int
    mknod(const char *path, mode_t mode, dev_t dev) when
    an invalid argument is passed.
    TEST: mknod() returns -1 when an invalid argument is specified
    ERROR: mknod() did not return -1
    Expected: -1 Received: 0
    21 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A temporary waiver for a minor system fault is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion
    A Temporary Waiver is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority