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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1479 Actions


    Problem Report Number 1479
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0761
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-10-31 08:00
    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/getsid 1
    Problem Summary TSD4U.00052 This test may fail on IUTs that only allow getsid access to processes in the same session as the calling process.
    Problem Text
    This test may fail on IUTs that only allow getsid access to
    processes in the same session as the calling process.

    line 9:
    Parent waits until child has made itself a session leader.
    line 10, 11:
    At this point, child has made itself a session leader;
    therefore, parent and child are not in the same session
    any more.
    line 12:
    According to the X/OPEN man page for getsid:

    The getsid() will fail if:

    [EPERM] The process specified by pid is not in the
    same session as the calling process, and the
    implementation does not allow access to the
    process group ID of the session leader of
    that process from the calling process.

    Since the implementation does not allow access to the process
    group ID of the session leader of that process from the
    calling process, the call fails with errno set to EPERM.
    And the behavior comforms to the standards.

    In summary,
    This is a test error. The test should expect getsid() call to
    fail with errno set to EPERM if VSU_ACCESS_PG_ACROSS_SESSION
    is set to 0 in the tetexec.cfg file.
    Test Output
    1 SECTION: Discrete Tests
    2
    3 TEST CASE: getsid
    4
    5 TEST PURPOSE #1
    6 A call to pid_t getsid(pid_t pid) shall return the
    7 process group ID of the process that is the session
    8 leader of the process pid.
    9 PREP: Parent: Ensure child has made itself a session leader
    10 TEST: Parent: getsid(pid) returns session ID of the
    11 child process
    12 ERROR: getsid failed, errno = 1(EPERM - Not owner)
    13 PREP: child: Make ourself the session leader. The
    14 session-ID is now 'pid' the process ID of
    15 this process
    16 PREP: Child: Inform parent that it is now a session leader
    17 1 FAIL

    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