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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1980 Actions


    Problem Report Number 1980
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0243
    Raised 1997-09-09 08:00
    Updated 2003-03-13 08:00
    Published 1997-09-11 08:00
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.4
    Test Identification XTI.hdr/misc/xti 27,29,31,35,36,37,41
    Specification Networking Services Issue 4
    Location in Spec See Problem Text
    Problem Summary PINT4.009 A permanent interpretation is requested for systems supporting XTI on an LP64 architecture supporting both 32-bit and 64-bit applications. XNET Resolution 49-1 states: Resolution XNET49-1 The XNS 4.2 ...
    Problem Text
    A permanent interpretation is requested for systems supporting
    XTI on an LP64 architecture supporting both 32-bit and
    64-bit applications.

    XNET Resolution 49-1 states:
    Resolution XNET49-1

    The XNS 4.2 use of "long" , "unsigned long" and (in some cases)
    "size_t" has caused serious problems with upcoming software and
    hardware changes in the market which seek to provide both 32-bit
    and 64-bit environments on the same computer. These developments
    were not foreseen when XNS Issue 4 was published. These problems
    were resolved in XNS Issue 5 by the replacement of these types
    by "t_scalar_t", "t_uscalar_t" and "socklen_t", respectively
    (all of which are defined to be at least 32 bits in length).

    Two problems arise:

    a. Vendors will need to brand such multi-model systems under
    UNIX 95 (which is based on XNS Issue 4) but can not pass
    the UNIX 95 test suite under 64-bit without significant
    implementation hardship.

    b. When UNIX 98 branding (based on XNS Issue 5) becomes
    available, a system so branded will not also be able to
    pass the UNIX 95 test suite and be dual-branded.
    XNET resolves that:

    1. A solution to these problems is necessary in the short
    term.

    2. The solution must be absolutely compatible for existing
    UNIX 95 conformant systems.

    3. The solution must be forward-looking into UNIX 98.

    4. Details of the solution must be publicly available, for
    example via a Corrigendum to the XNS 4.2 specification.
    Approved unanimously.

    Test Output
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 27 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure t_info is defined and contains the following members with
    the corresponding types:
    Member Type
    addr long
    options long
    tsdu long
    etsdu long
    connect long
    discon long
    servtype long
    flags long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()
    Test Information:
    Compiler or run-time messages or results:
    cc: "cc27es.c", line 35: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 36: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 37: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 38: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 39: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 40: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 41: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc27es.c", line 42: warning 729: Assignment converts int* to long*
    "testlptr".
    sizeof t_info.addr is 4, expected 8
    sizeof t_info.options is 4, expected 8
    sizeof t_info.tsdu is 4, expected 8
    sizeof t_info.etsdu is 4, expected 8
    sizeof t_info.connect is 4, expected 8
    sizeof t_info.discon is 4, expected 8
    sizeof t_info.servtype is 4, expected 8
    sizeof t_info.flags is 4, expected 8
    ************************************************************************
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 29 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure t_opthdr is defined and contains the following members with
    the corresponding types:
    Member Type
    len unsigned long
    level unsigned long
    name unsigned long
    status unsigned long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()

    Test Information:
    Compiler or run-time messages or results:
    cc: "cc29es.c", line 35: warning 729: Assignment converts int* to long*
    "testulptr".
    cc: "cc29es.c", line 36: warning 729: Assignment converts int* to long*
    "testulptr".
    cc: "cc29es.c", line 37: warning 729: Assignment converts int* to long*
    "testulptr".
    cc: "cc29es.c", line 38: warning 729: Assignment converts int* to long*
    "testulptr".
    sizeof t_opthdr.len is 4, expected 8
    sizeof t_opthdr.level is 4, expected 8
    sizeof t_opthdr.name is 4, expected 8
    sizeof t_opthdr.status is 4, expected 8
    ************************************************************************
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 31 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure t_optmgmt is defined and contains the following members with
    the corresponding types:
    Member Type
    opt struct netbuf
    flags long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()

    Test Information:
    Compiler or run-time messages or results:
    cc: "cc31es.c", line 49: warning 729: Assignment converts int* to long*
    "testlptr".
    sizeof t_optmgmt.flags is 4, expected 8
    ************************************************************************
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 35 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure t_uderr is defined and contains the following members with
    the corresponding types:
    Member Type
    addr struct netbuf
    opt struct netbuf
    error long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()

    Test Information:
    Compiler or run-time messages or results:
    cc: "cc35es.c", line 50: warning 729: Assignment converts int* to long*
    "testlptr".
    sizeof t_uderr.error is 4, expected 8
    ************************************************************************
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 36 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure t_linger is defined and contains the following members with
    the corresponding types:
    Member Type
    l_onoff long
    l_linger long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()
    Test Information:
    Compiler or run-time messages or results:
    cc: "cc36es.c", line 35: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc36es.c", line 36: warning 729: Assignment converts int* to long*
    "testlptr".
    sizeof t_linger.l_onoff is 4, expected 8
    sizeof t_linger.l_linger is 4, expected 8
    ************************************************************************
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 37 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure rate is defined and contains the following members with the
    corresponding types:
    Member Type
    targetvalue long
    minacceptvalue long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()

    Test Information:
    Compiler or run-time messages or results:
    cc: "cc37es.c", line 35: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc37es.c", line 36: warning 729: Assignment converts int* to long*
    "testlptr".
    sizeof rate.targetvalue is 4, expected 8
    sizeof rate.minacceptvalue is 4, expected 8
    ************************************************************************
    ************************************************************************
    /tset/XTI.hdr/misc/xti/T.xti 41 Failed

    Test Description:
    When the header file <xti.h> is included in a C program, then the
    structure t_kpalive is defined and contains the following members with
    the corresponding types:
    the corresponding types:
    Member Value
    kp_onoff long
    kp_timeout long

    Test Strategy:
    COMPILE program including header file <xti.h>
    ASSIGN each structure member to a variable of the same type
    COMPARE each member against an object of the same type
    ASSIGN address of each member to a pointer variable of the same type
    ASSIGN a variable of the same type to each structure member
    VERIFY that the size of each member is as expected, using sizeof()

    Test Information:
    Compiler or run-time messages or results:
    cc: "cc41es.c", line 35: warning 729: Assignment converts int* to long*
    "testlptr".
    cc: "cc41es.c", line 36: warning 729: Assignment converts int* to long*
    "testlptr".
    sizeof t_kpalive.kp_onoff is 4, expected 8
    sizeof t_kpalive.kp_timeout is 4, expected 8
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree that this interpretation is necessary to allow compatibility
    between UNIX 95 and UNIX 98 branding, and recommend that a permanent
    interpretation is granted.

    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