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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0290 Actions


    Problem Report Number 0290
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0006
    Raised 1992-10-01 08:00
    Updated 2003-03-13 08:00
    Published 1992-10-06 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/fopen 25
    Specification System Interfaces and Headers Issue 4
    Location in Spec See Problem Text
    Problem Summary PIN4.006 As stated, all the above failures are because our implementation on PATH_MAX is based on POSIX.1-1990. According to the Interpretation Request Reference : VWG/017/070792, the definition of PATH_MAX wa...
    Problem Text
    As stated, all the above failures are because our implementation on
    PATH_MAX is based on POSIX.1-1990.

    According to the Interpretation Request Reference : VWG/017/070792,
    the definition of PATH_MAX was debated at length during the development
    of XSH4. In the end it was decided to align with the draft POSIX 1003.1a.
    However since this is still a draft standard, for testing we should align
    with POSIX.1-1990 as published and interpreted. Therefore, we should allow
    either behavior.

    Action on VSX developer:
    (iv) -- Document as a permanent grey area. The tests will be left as
    they are, this way, if tests fail awareness of this issue will be
    raised, and implementors can then make the choice to align either
    with the draft P1003.1a or to apply for a waiver which would be
    granted.

    Test Output
    The following tests failed because our implementation on PATH_MAX
    is aligned with POSIX.1-1990 rather than draft P1003.1a.

    ANSI.os/streamio/fopen 25
    ANSI.os/streamio/freopen 26
    ANSI.os/streamio/remove 14
    POSIX.os/file/access 38
    POSIX.os/file/chdir 7
    POSIX.os/file/chmod 12
    POSIX.os/file/chown 11
    POSIX.os/file/creat 23
    POSIX.os/file/link 17
    POSIX.os/file/mkdir 14
    POSIX.os/file/mkfifo 12
    POSIX.os/file/open 37
    POSIX.os/file/opendir 10
    POSIX.os/file/pathconf 21
    POSIX.os/file/rename 27
    POSIX.os/file/rmdir 15
    POSIX.os/file/stat 9
    POSIX.os/file/unlink 14
    POSIX.os/file/utime 13
    POSIX.os/procprim/execl,execle,execlp,execv,execve,execvp 37
    XOPEN.hdr/misc/ftw 9
    XOPEN.os/procenv/chroot 7

    1. ANSI.os/streamio/fopen 25 Failed :
    Test Information
    fopen(<1023 char path>, "w") did not return NULL

    2. ANSI.os/streamio/freopen 26 Failed :
    Test Information
    freopen(<1023 char path>, "w", fp) did not return NULL

    3. ANSI.os/streamio/remove 14 Failed :
    Test Information
    remove("<1023 char path>") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    4. POSIX.os/file/access 38 Failed :
    Test Information
    access("<1023 char name>", F_OK) did not give correct results
    file mode: 0100777, owner: 10, group: 100
    process real uid: 10, real gid: 100
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    5. POSIX.os/file/chdir 7 Failed :
    Test Information
    chdir("<1023 char path>") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO E RROR)

    6. POSIX.os/file/chmod 12 Failed :
    Test Information
    chmod("<1023 char path>", 0700) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    7. POSIX.os/file/chown 11 Failed :
    Test Information
    chown("<1023 char path>", 0, 100) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    8. POSIX.os/file/creat 23 Failed :
    Test Information
    creat("<1023 char path>", 0777) did not give correct results
    RETURN VALUES: expected: -1, observed: 6
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    9. POSIX.os/file/link 17 Failed :
    Test Information
    Link("<1023 char path>", "link-t.17b") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)
    link("link-t.17b", "<1023 char path>") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    10. POSIX.os/file/mkdir 14 Failed :
    Test Information
    mkdir("<1023 char path>", 0777) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    11. POSIX.os/file/mkfifo 12 Failed :
    Test Information
    mkfifo("<1023 char path>", 0777) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    12. POSIX.os/file/open 37 Failed :
    Test Information
    open("<1023 char path>", O_RDONLY) did not give correct results
    RETURN VALUES: expected: -1, observed: 6
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    13. POSIX.os/file/opendir 10 Failed :
    Test Information
    opendir("<1023 char path>") succeeded unexpectedly

    14. POSIX.os/file/pathconf 21 Failed :
    Test Information
    creat() with relative path longer than PATH_MAX did not fail with
    ENAMETOOLONG
    RETURN VALUES: expected: -1, observed: 6
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    15. POSIX.os/file/rename 27 Failed :
    Test Information
    rename("<1023 char path>", "rename-t.27b") did not give correct results
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 2 (ENOENT)
    rename("rename-t.27b", "<1023 char path>") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    16. POSIX.os/file/rmdir 15 Failed :
    Test Information
    rmdir("<1023 char path>") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    17. POSIX.os/file/stat 9 Failed :
    Test Information
    stat("<1023 char path>", buf) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    18. POSIX.os/file/unlink 14 Failed :
    Test Information
    unlink("<1023 char path>") did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    19. POSIX.os/file/utime 13 Failed :
    Test Information
    utime("<1023 char path>", NULL) did not give correct results
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    20. POSIX.os/procprim/execl 37 Failed :
    Test Information
    execl(../exec_tok, ...) when ../exec_tok prefixed by 1012 char path
    did not return expected values
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    21. POSIX.os/procprim/execle 37 Failed :
    Test Information
    execle(../exec_tok, ...) when ../exec_tok prefixed by 1012 char path
    did not return expected values
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    22. POSIX.os/procprim/execlp 37 Failed :
    Test Information
    execlp(../exec_tok, ...) when ../exec_tok prefixed by 1012 char path
    did not return expected values
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    23. POSIX.os/procprim/execv 37 Failed :
    Test Information
    execv(../exec_tok, ...) when ../exec_tok prefixed by 1012 char path
    did not return expected values
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    24. POSIX.os/procprim/execve 37 Failed :
    Test Information
    execve(../exec_tok, ...) when ../exec_tok prefixed by 1012 char path
    did not return expected values
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    25. POSIX.os/procprim/execvp 37 Failed :
    Test Information
    execvp(../exec_tok, ...) when ../exec_tok prefixed by 1012 char path
    did not return expected values
    RETURN VALUES: expected: -1, observed: 0
    ERRNO VALUES: expected: 248 (ENAMETOOLONG), observed: 0 (NO ERROR)

    26. XOPEN.hdr/misc/ftw 9 Failed :
    Test Information
    ftw(<1023 char path>, ..., 2) returned 1 instead of -1

    27. XOPEN.os/procenv/chroot 7 Failed :
    Test Information
    chroot(<1023 char path>) did not return -1

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is the agreed position position of the K/RT working group and a
    Permanent Interpretation is recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority